diff options
author | Thomas Martitz <kugel@rockbox.org> | 2011-02-18 23:17:07 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2011-02-18 23:17:07 +0000 |
commit | 1e391fbdbc4af5fbee0a88d2c6199fabfef4f534 (patch) | |
tree | a09732cb4430d8f761fce57731071b41081c0778 /firmware/thread.c | |
parent | 6d85de341928aef8178465c60122f3cbe76f5dd6 (diff) |
Fix yellows and checkwps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29328 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/thread.c')
-rw-r--r-- | firmware/thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/thread.c b/firmware/thread.c index a81f56cdfe..bfbaf462a6 100644 --- a/firmware/thread.c +++ b/firmware/thread.c @@ -2385,7 +2385,7 @@ void thread_get_name(char *buffer, int size, const char *fmt = "%s"; if (name == NULL IF_COP(|| name == THREAD_DESTRUCT) || *name == '\0') { - name = (const char *)(unsigned int)thread->id; + name = (const char *)(uintptr_t)thread->id; fmt = "%04lX"; } snprintf(buffer, size, fmt, name); |