diff options
author | Michael Gran <spk121@yahoo.com> | 2009-08-09 16:01:20 -0700 |
---|---|---|
committer | Michael Gran <spk121@yahoo.com> | 2009-08-09 16:58:14 -0700 |
commit | 4847dc172f4086152987d5f9c353cf14db17d554 (patch) | |
tree | ac8dd7427ecb06d09f48e78b0a1b75bc786e19d4 /libguile/chars.h | |
parent | b07992900bef24596532018d7939384f8632cd0f (diff) | |
download | guile-4847dc172f4086152987d5f9c353cf14db17d554.tar.gz |
Missing parentheses in SCM_MAKE_CHAR macro
* libguile/chars.h (SCM_MAKE_CHAR): missing parentheses
Diffstat (limited to 'libguile/chars.h')
-rw-r--r-- | libguile/chars.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libguile/chars.h b/libguile/chars.h index 4d1be1db9..e016cb28e 100644 --- a/libguile/chars.h +++ b/libguile/chars.h @@ -33,9 +33,9 @@ #define SCM_CHAR(x) ((scm_t_wchar)SCM_ITAG8_DATA(x)) #define SCM_MAKE_CHAR(x) \ - (x < 0 \ - ? SCM_MAKE_ITAG8 ((scm_t_bits) (unsigned char) x, scm_tc8_char) \ - : SCM_MAKE_ITAG8 ((scm_t_bits) x, scm_tc8_char)) + ((x) < 0 \ + ? SCM_MAKE_ITAG8 ((scm_t_bits) (unsigned char) (x), scm_tc8_char) \ + : SCM_MAKE_ITAG8 ((scm_t_bits) (x), scm_tc8_char)) #define SCM_CODEPOINT_MAX (0x10ffff) #define SCM_IS_UNICODE_CHAR(c) \ |