diff options
author | Roland McGrath <roland@hack.frob.com> | 2012-10-25 14:43:10 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2012-10-25 14:43:10 -0700 |
commit | c0a1472e2272045d6520eb92f6a5438e2323b79b (patch) | |
tree | 705ac5ed525befa41be5af183cd1f51050632831 /nptl/tst-cond-except.c | |
parent | df381762dc462d62b4a2994fa6399f5cfa8891a3 (diff) | |
download | glibc-c0a1472e2272045d6520eb92f6a5438e2323b79b.tar.gz glibc-c0a1472e2272045d6520eb92f6a5438e2323b79b.tar.xz glibc-c0a1472e2272045d6520eb92f6a5438e2323b79b.zip |
Fix compiler warnings in some NPTL tests.
Diffstat (limited to 'nptl/tst-cond-except.c')
-rw-r--r-- | nptl/tst-cond-except.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nptl/tst-cond-except.c b/nptl/tst-cond-except.c index b9871ba864..be9c4ef70a 100644 --- a/nptl/tst-cond-except.c +++ b/nptl/tst-cond-except.c @@ -18,6 +18,7 @@ #include <pthread.h> #include <stdio.h> +#include <stdint.h> #include <string.h> #include <unistd.h> @@ -72,11 +73,11 @@ thr (void *arg) pthread_cleanup_pop (1); out: - return (void *)ret; + return (void *) (uintptr_t) ret; } int -do_test () +do_test (void) { pthread_t thread; int ret = 0; |