From 1265d03141839c32e562331a15ce4374dbb8360d Mon Sep 17 00:00:00 2001 From: Jean-Philippe Bernardy Date: Mon, 24 Jan 2005 13:32:52 +0000 Subject: Oops, deadbeef is unsigned git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5653 a1c6a512-1295-4272-9138-f99709370657 --- firmware/thread.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3