diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-02-14 01:30:20 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-02-14 01:30:20 +0000 |
commit | 195e68a0148dfb8b7ffc434aa4bafe2acfc8634f (patch) | |
tree | a8e79f8265374115f899c188d66e8329883b81d1 | |
parent | afc2511f3d22f1641f7466046b82737b28306e89 (diff) |
fix gcc warning: ex3.c:31: warning: int format, different type arg (arg 2)
-rw-r--r-- | test/pthread/ex3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pthread/ex3.c b/test/pthread/ex3.c index 3e53af1bb..8ef779789 100644 --- a/test/pthread/ex3.c +++ b/test/pthread/ex3.c @@ -28,7 +28,7 @@ int main(int argc, char ** argv) /* create a number to search for */ pid = getpid(); - printf("Searching for the number = %d...\n", pid); + printf("Searching for the number = %ld...\n", pid); /* Initialize the mutex lock */ pthread_mutex_init(&lock, NULL); |