Explorar el Código

Fix printf type warning in the unit test

bel hace 9 años
padre
commit
243e8e8cdb
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      test/public_server.c

+ 2 - 2
test/public_server.c

@@ -1955,8 +1955,8 @@ START_TEST(test_handle_form)
 	                "boundary=multipart-form-data-boundary--see-RFC-2388\r\n"
 	                "Content-Length: %u\r\n"
 	                "\r\n%s",
-	                body_len,
-	                (unsigned int)multipart_body);
+	                (unsigned int)body_len,
+	                multipart_body);
 
 	ck_assert(client_conn != NULL);
 	test_sleep(1);