aboutsummaryrefslogtreecommitdiff
path: root/jim.h
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2010-10-22 09:57:01 +1000
committerSteve Bennett <steveb@workware.net.au>2010-11-17 07:57:39 +1000
commitb93609dd51bb92f9a7d466159f4128a6f5e59cc1 (patch)
treebb8701c470e1b1ceae8008a472b8582e02422e3b /jim.h
parentedd90ef17325be11342427123d809be005025d79 (diff)
downloadjimtcl-b93609dd51bb92f9a7d466159f4128a6f5e59cc1.zip
jimtcl-b93609dd51bb92f9a7d466159f4128a6f5e59cc1.tar.gz
jimtcl-b93609dd51bb92f9a7d466159f4128a6f5e59cc1.tar.bz2
For ctype macros, cast to unsigned char
Instead of unsigned. Add UCHAR() macro for this. Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jim.h')
-rw-r--r--jim.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/jim.h b/jim.h
index 52d5340..6fb1a3e 100644
--- a/jim.h
+++ b/jim.h
@@ -119,6 +119,8 @@ extern "C" {
# endif
#endif
+#define UCHAR(c) ((unsigned char)(c))
+
/* -----------------------------------------------------------------------------
* Exported defines
* ---------------------------------------------------------------------------*/