diff options
| author | jvoisin | 2023-07-09 12:27:12 +0200 |
|---|---|---|
| committer | jvoisin | 2023-07-09 12:27:12 +0200 |
| commit | 6939c9e0c241bb348c006d07ee423ed5aeb0e707 (patch) | |
| tree | 40cbb2aa1bc7d1bf501d503086179e31c57a0f7f | |
| parent | f774a4977fbc497b85417bcbc1fa9b3f3220164a (diff) | |
Fix a couple of warnings
| -rw-r--r-- | tests/Makefile | 1 | ||||
| -rw-r--r-- | tests/test_poll.c | 2 | ||||
| -rw-r--r-- | 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 | |||
| 3 | TARGETS= \ | 3 | TARGETS= \ |
| 4 | test_fgets \ | 4 | test_fgets \ |
| 5 | test_bcopy_static_write \ | 5 | test_bcopy_static_write \ |
| 6 | test_bcopy_dynamic_write \ | ||
| 7 | test_bcopy_static_read \ | 6 | test_bcopy_static_read \ |
| 8 | test_bcopy_dynamic_read \ | 7 | test_bcopy_dynamic_read \ |
| 9 | test_bcopy_dynamic_write \ | 8 | 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) { | |||
| 9 | poll(buffer, 14, 0); | 9 | poll(buffer, 14, 0); |
| 10 | CHK_FAIL_END | 10 | CHK_FAIL_END |
| 11 | 11 | ||
| 12 | puts(buffer); | 12 | puts((const char*)buffer); |
| 13 | return ret; | 13 | return ret; |
| 14 | } | 14 | } |
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) { | |||
| 10 | ppoll(buffer, 14, NULL, NULL); | 10 | ppoll(buffer, 14, NULL, NULL); |
| 11 | CHK_FAIL_END | 11 | CHK_FAIL_END |
| 12 | 12 | ||
| 13 | puts(buffer); | 13 | puts((const char*)buffer); |
| 14 | return ret; | 14 | return ret; |
| 15 | } | 15 | } |
