Browse Source

Fix warning

master
JustAnotherArchivist 1 year ago
parent
commit
2163d745fd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      http-response-bodies.c

+ 1
- 1
http-response-bodies.c View File

@@ -78,7 +78,7 @@ int main(int argc, char* argv[]) {
checkstate:
DEBUG_PRINTF("Have %zu bytes of buffer (at %p)\n", n, (void*)bufp);
DEBUG_PRINTF("Beginning of buffer: ");
for (int i = 0; i < (n > 64 ? 64 : n); ++i) DEBUG_PRINTF(isprint(*(bufp + i)) ? "%c" : "\\x%02x", *(bufp + i) & 0xFF);
for (unsigned int i = 0; i < (n > 64 ? 64 : n); ++i) DEBUG_PRINTF(isprint(*(bufp + i)) ? "%c" : "\\x%02x", *(bufp + i) & 0xFF);
DEBUG_PRINTF("\n");
if (n == 0) {
break;


Loading…
Cancel
Save