Commit a2afbf0
committed
Fix compiler warning
```
src/WebHandlers.cpp: In member function 'virtual void AsyncStaticWebHandler::handleRequest(AsyncWebServerRequest*)':
src/WebHandlers.cpp:237:38: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'uint32_t' {aka 'long unsigned int'} [-Wformat=]
237 | snprintf(etag, sizeof(etag), "%08x", etagValue);
| ~~~^ ~~~~~~~~~
| | |
| | uint32_t {aka long unsigned int}
| unsigned int
| %08lx
```1 parent 4afedab commit a2afbf0
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | | - | |
| 237 | + | |
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| |||
0 commit comments