소스 검색

Fix warning in test

bel 9 년 전
부모
커밋
7dd91a2367
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      test/public_server.c

+ 3 - 3
test/public_server.c

@@ -80,9 +80,9 @@ locate_ssl_cert(void)
 
 	ck_assert(res != NULL);
 	l = strlen(res);
-	ck_assert_int_gt(l, 0);
-	ck_assert_int_lt(l, 100); /* assume there is enough space left in our
-	                             typical 255 character string buffers */
+	ck_assert_uint_gt(l, 0);
+	ck_assert_uint_lt(l, 100); /* assume there is enough space left in our
+	                              typical 255 character string buffers */
 
 	strcpy(cert_path, res);
 	strcat(cert_path, "ssl_cert.pem");