diff options
Diffstat (limited to 'uisimulator')
-rw-r--r-- | uisimulator/x11/thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uisimulator/x11/thread.c b/uisimulator/x11/thread.c index 769de5bef0..b4a4ea13e7 100644 --- a/uisimulator/x11/thread.c +++ b/uisimulator/x11/thread.c | |||
@@ -60,7 +60,7 @@ int create_thread(void* fp, void* sp, int stk_size) | |||
60 | if(0 != error) | 60 | if(0 != error) |
61 | fprintf(stderr, "Couldn't run thread number %d, errno %d\n", i, error); | 61 | fprintf(stderr, "Couldn't run thread number %d, errno %d\n", i, error); |
62 | else | 62 | else |
63 | fprintf(stderr, "Thread %d is running\n", tid); | 63 | fprintf(stderr, "Thread %ld is running\n", tid); |
64 | 64 | ||
65 | /* get mutex to only allow one thread running at a time */ | 65 | /* get mutex to only allow one thread running at a time */ |
66 | pthread_mutex_lock(&mp); | 66 | pthread_mutex_lock(&mp); |