summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/Thread.cpp
diff options
context:
space:
mode:
authorXTra.KrazzY <XTra.KrazzY@gmail.com>2009-01-11 13:05:43 +0000
committerXTra.KrazzY <XTra.KrazzY@gmail.com>2009-01-11 13:05:43 +0000
commit9d9de41c0a51726407184e5aec9b185775e03a5b (patch)
treef8e4fcf6edf9f4f7fcb6ef8313d94f2dfc023910 /Source/Core/Common/Src/Thread.cpp
parent4d4ff5c8f534f1373a0427950f0686a4f3a73216 (diff)
Printf compile warning fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1849 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/Thread.cpp')
-rw-r--r--Source/Core/Common/Src/Thread.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/Common/Src/Thread.cpp b/Source/Core/Common/Src/Thread.cpp
index abe6fbaf8b..7db0089770 100644
--- a/Source/Core/Common/Src/Thread.cpp
+++ b/Source/Core/Common/Src/Thread.cpp
@@ -245,7 +245,7 @@ Thread::Thread(ThreadFunc function, void* arg)
__FUNCTION__, &thread_id, &attr, function, arg, strerror(ret));
#ifdef THREAD_DEBUG
- fprintf(stderr, "created new thread %d (func=%p, arg=%p)\n", thread_id, function, arg);
+ fprintf(stderr, "created new thread %lu (func=%p, arg=%p)\n", thread_id, function, arg);
#endif
}
@@ -262,9 +262,9 @@ void Thread::WaitForDeath()
{
void* exit_status;
int ret = pthread_join(thread_id, &exit_status);
- if (ret) fprintf(stderr, "error joining thread %d: %s\n", thread_id, strerror(ret));
+ if (ret) fprintf(stderr, "error joining thread %lu: %s\n", thread_id, strerror(ret));
if (exit_status)
- fprintf(stderr, "thread %d exited with status %d\n", thread_id, *(int *)exit_status);
+ fprintf(stderr, "thread %d exited with status %lu\n", thread_id, *(int *)exit_status);
thread_id = 0;
}
}