Loading tests/libtest/lib1509.c +1 −1 Original line number Diff line number Diff line Loading @@ -69,7 +69,7 @@ int test(char *URL) goto test_cleanup; } printf("header length is ........: %lu\n", headerSize); printf("header length is ........: %ld\n", headerSize); printf("header length should be..: %lu\n", realHeaderSize); test_cleanup: Loading tests/libtest/lib1535.c +1 −1 Original line number Diff line number Diff line Loading @@ -71,7 +71,7 @@ int test(char *URL) } if(protocol != CURLPROTO_HTTP) { fprintf(stderr, "%s:%d protocol of http resource is incorrect; " "expected %ld but is %ld\n", "expected %d but is %ld\n", __FILE__, __LINE__, CURLPROTO_HTTP, protocol); res = CURLE_HTTP_RETURNED_ERROR; goto test_cleanup; Loading tests/libtest/lib1536.c +1 −1 Original line number Diff line number Diff line Loading @@ -72,7 +72,7 @@ int test(char *URL) if(memcmp(scheme, "HTTP", 5) != 0) { fprintf(stderr, "%s:%d scheme of http resource is incorrect; " "expected 'HTTP' but is %s\n", __FILE__, __LINE__, CURLPROTO_HTTP, __FILE__, __LINE__, (scheme == NULL ? "NULL" : "invalid")); res = CURLE_HTTP_RETURNED_ERROR; goto test_cleanup; Loading tests/libtest/lib552.c +2 −2 Original line number Diff line number Diff line Loading @@ -46,11 +46,11 @@ void dump(const char *text, /* without the hex output, we can fit more on screen */ width = 0x40; fprintf(stream, "%s, %d bytes (0x%x)\n", text, (int)size, (int)size); fprintf(stream, "%s, %zu bytes (0x%zx)\n", text, size, size); for(i = 0; i<size; i += width) { fprintf(stream, "%04x: ", (int)i); fprintf(stream, "%04zx: ", i); if(!nohex) { /* hex not disabled, show it */ Loading tests/libtest/testtrace.c +3 −3 Original line number Diff line number Diff line Loading @@ -43,12 +43,12 @@ void libtest_debug_dump(const char *timebuf, const char *text, FILE *stream, /* without the hex output, we can fit more on screen */ width = 0x40; fprintf(stream, "%s%s, %d bytes (0x%x)\n", timebuf, text, (int)size, (int)size); fprintf(stream, "%s%s, %zu bytes (0x%zx)\n", timebuf, text, size, size); for(i = 0; i < size; i += width) { fprintf(stream, "%04x: ", (int)i); fprintf(stream, "%04zx: ", i); if(!nohex) { /* hex not disabled, show it */ Loading Loading
tests/libtest/lib1509.c +1 −1 Original line number Diff line number Diff line Loading @@ -69,7 +69,7 @@ int test(char *URL) goto test_cleanup; } printf("header length is ........: %lu\n", headerSize); printf("header length is ........: %ld\n", headerSize); printf("header length should be..: %lu\n", realHeaderSize); test_cleanup: Loading
tests/libtest/lib1535.c +1 −1 Original line number Diff line number Diff line Loading @@ -71,7 +71,7 @@ int test(char *URL) } if(protocol != CURLPROTO_HTTP) { fprintf(stderr, "%s:%d protocol of http resource is incorrect; " "expected %ld but is %ld\n", "expected %d but is %ld\n", __FILE__, __LINE__, CURLPROTO_HTTP, protocol); res = CURLE_HTTP_RETURNED_ERROR; goto test_cleanup; Loading
tests/libtest/lib1536.c +1 −1 Original line number Diff line number Diff line Loading @@ -72,7 +72,7 @@ int test(char *URL) if(memcmp(scheme, "HTTP", 5) != 0) { fprintf(stderr, "%s:%d scheme of http resource is incorrect; " "expected 'HTTP' but is %s\n", __FILE__, __LINE__, CURLPROTO_HTTP, __FILE__, __LINE__, (scheme == NULL ? "NULL" : "invalid")); res = CURLE_HTTP_RETURNED_ERROR; goto test_cleanup; Loading
tests/libtest/lib552.c +2 −2 Original line number Diff line number Diff line Loading @@ -46,11 +46,11 @@ void dump(const char *text, /* without the hex output, we can fit more on screen */ width = 0x40; fprintf(stream, "%s, %d bytes (0x%x)\n", text, (int)size, (int)size); fprintf(stream, "%s, %zu bytes (0x%zx)\n", text, size, size); for(i = 0; i<size; i += width) { fprintf(stream, "%04x: ", (int)i); fprintf(stream, "%04zx: ", i); if(!nohex) { /* hex not disabled, show it */ Loading
tests/libtest/testtrace.c +3 −3 Original line number Diff line number Diff line Loading @@ -43,12 +43,12 @@ void libtest_debug_dump(const char *timebuf, const char *text, FILE *stream, /* without the hex output, we can fit more on screen */ width = 0x40; fprintf(stream, "%s%s, %d bytes (0x%x)\n", timebuf, text, (int)size, (int)size); fprintf(stream, "%s%s, %zu bytes (0x%zx)\n", timebuf, text, size, size); for(i = 0; i < size; i += width) { fprintf(stream, "%04x: ", (int)i); fprintf(stream, "%04zx: ", i); if(!nohex) { /* hex not disabled, show it */ Loading