summaryrefslogtreecommitdiff
path: root/firmware/thread.c
diff options
context:
space:
mode:
authorJean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com>2005-01-24 13:32:52 +0000
committerJean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com>2005-01-24 13:32:52 +0000
commit1265d03141839c32e562331a15ce4374dbb8360d (patch)
tree35a7ec334891b94c94415ab4a5f675cf57fff9b3 /firmware/thread.c
parenta61d9857e8a3f21b4ade3e4d6c53594eeb1a59b2 (diff)
Oops, deadbeef is unsigned
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5653 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/thread.c')
-rw-r--r--firmware/thread.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/thread.c b/firmware/thread.c
index 537a1f0700..a77d82ba74 100644
--- a/firmware/thread.c
+++ b/firmware/thread.c
@@ -47,7 +47,8 @@ struct regs
};
#endif
-#define DEADBEEF ((int)0xdeadbeef)
+#define DEADBEEF ((unsigned int)0xdeadbeef)
+/* Cast to the the machine int type, whose size could be < 4. */
int num_threads;