Skip to content

Conversation

mathieucarbou
Copy link
Member

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

```
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
```
@mathieucarbou mathieucarbou merged commit 0951505 into main Oct 3, 2025
35 checks passed
@mathieucarbou mathieucarbou deleted the warning branch October 3, 2025 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants