From 195e68a0148dfb8b7ffc434aa4bafe2acfc8634f Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 14 Feb 2006 01:30:20 +0000 Subject: fix gcc warning: ex3.c:31: warning: int format, different type arg (arg 2) --- test/pthread/ex3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/pthread') 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); -- cgit v1.2.3