Commit cd97b2d
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 cd97b2d
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
237 | 240 | | |
| 241 | + | |
238 | 242 | | |
239 | 243 | | |
240 | 244 | | |
| |||
0 commit comments