summaryrefslogtreecommitdiff
path: root/nuttx/include/signal.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-13 15:13:37 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-13 15:13:37 +0000
commitc37fdc28c2cfdf41a549ba245c1cad85b757e53a (patch)
tree2812daa6196bae9eb0a4233aa1b28f6eb7902c44 /nuttx/include/signal.h
parenta3933a716fd10ac4c87089ce7fac43ee24b3a2d4 (diff)
downloadnuttx-c37fdc28c2cfdf41a549ba245c1cad85b757e53a.tar.gz
nuttx-c37fdc28c2cfdf41a549ba245c1cad85b757e53a.tar.bz2
nuttx-c37fdc28c2cfdf41a549ba245c1cad85b757e53a.zip
Eliminate some hcs12 compile errors/warnings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2329 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/signal.h')
-rw-r--r--nuttx/include/signal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/include/signal.h b/nuttx/include/signal.h
index 9357c4d7d..baa1e2ad3 100644
--- a/nuttx/include/signal.h
+++ b/nuttx/include/signal.h
@@ -59,7 +59,7 @@
#define ALL_SIGNAL_SET ((sigset_t)0xffffffff)
#define MIN_SIGNO 0
#define MAX_SIGNO 31
-#define GOOD_SIGNO(s) (((s)>=MIN_SIGNO)&&((s)<=MAX_SIGNO))
+#define GOOD_SIGNO(s) ((((unsigned)(s))<=MAX_SIGNO))
#define SIGNO2SET(s) ((sigset_t)1 << (s))
/* All signals are "real time" signals */