bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

unconditional `intptr_t'


From: Golubev I. N.
Subject: unconditional `intptr_t'
Date: Mon, 24 Sep 2001 17:18:28 (GMT)

"chars.h" uses `intptr_t' even on systems not having it.  This causes
compilation failure.

--- chars.h     2001/09/21 17:56:39     1.14
+++ chars.h     2001/09/24 17:16:32
@@ -53,7 +53,7 @@
  */
 #define SCM_CHARP(x) (SCM_ITAG8(x) == scm_tc8_char)
 #define SCM_CHAR(x) ((unsigned int)SCM_ITAG8_DATA(x))
-#define SCM_MAKE_CHAR(x) SCM_MAKE_ITAG8((intptr_t) x, scm_tc8_char)
+#define SCM_MAKE_CHAR(x) SCM_MAKE_ITAG8((scm_t_bits) x, scm_tc8_char)
 
 
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]