roken: use %zu format string for size_t
This commit is contained in:
		@@ -144,7 +144,7 @@ test_simple_echo_client(void)
 | 
				
			|||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (rv != strlen(test_strings[i])) {
 | 
						if (rv != strlen(test_strings[i])) {
 | 
				
			||||||
	    fprintf (stderr, "[%s] Data length mismatch %d != %d\n", prog, rv, strlen(test_strings[i]));
 | 
						    fprintf (stderr, "[%s] Data length mismatch %d != %zu\n", prog, rv, strlen(test_strings[i]));
 | 
				
			||||||
	    rk_closesocket(s);
 | 
						    rk_closesocket(s);
 | 
				
			||||||
	    return 1;
 | 
						    return 1;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user