From 6939c9e0c241bb348c006d07ee423ed5aeb0e707 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sun, 9 Jul 2023 12:27:12 +0200 Subject: Fix a couple of warnings --- tests/Makefile | 1 - tests/test_poll.c | 2 +- tests/test_ppoll.c | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index f8cd843..30cd08b 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -3,7 +3,6 @@ CFLAGS=-I../include/ -D_FORTIFY_SOURCE=3 -static -O2 TARGETS= \ test_fgets \ test_bcopy_static_write \ - test_bcopy_dynamic_write \ test_bcopy_static_read \ test_bcopy_dynamic_read \ test_bcopy_dynamic_write \ diff --git a/tests/test_poll.c b/tests/test_poll.c index 06237aa..b3dfd50 100644 --- a/tests/test_poll.c +++ b/tests/test_poll.c @@ -9,6 +9,6 @@ int main(int argc, char** argv) { poll(buffer, 14, 0); CHK_FAIL_END - puts(buffer); + puts((const char*)buffer); return ret; } diff --git a/tests/test_ppoll.c b/tests/test_ppoll.c index 82b77ab..186bafe 100644 --- a/tests/test_ppoll.c +++ b/tests/test_ppoll.c @@ -10,6 +10,6 @@ int main(int argc, char** argv) { ppoll(buffer, 14, NULL, NULL); CHK_FAIL_END - puts(buffer); + puts((const char*)buffer); return ret; } -- cgit v1.3