You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is seen by at least gcc 11.4.0
samples/net/sockets/http_get/src/http_get.c:44:40: warning:
format ‘%d’ expects argument of type ‘int’, but argument 2
has type ‘ssize_t’ {aka ‘long int’} [-Wformat=]
44 | #define CHECK(r) { if (r < 0) {
| printf("Error: %d\n", r); exit(1); } }
| ^~~~~~~~~~~~~
samples/net/sockets/http_get/src/http_get.c:44:49: note: format string is
defined here
44 | #define CHECK(r) { if (r < 0) {
printf("Error: %d\n", r); exit(1); } }
| ~^
| |
| int
| %ld
Signed-off-by: Jukka Rissanen <[email protected]>
0 commit comments