[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
unconditional `intptr_t'
From: |
Golubev I. N. |
Subject: |
unconditional `intptr_t' |
Date: |
Thu, 04 Oct 2001 16:24:44 (GMT) |
cvs branch: branch_release-1-6
For systems without `intptr_t' the following files need fix. After
applying the patch `guile' ran normally for me.
--- chars.h 2001/09/21 17:51:01 1.11.4.2
+++ chars.h 2001/09/25 17:51:55
@@ -51,7 +51,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)
--- error.c 2001/09/21 17:50:45 1.63.2.3
+++ error.c 2001/09/25 17:51:56
@@ -308,7 +308,7 @@
else
{
/* numerical error code. */
- int error = (intptr_t) pos;
+ scm_t_bits error = (scm_t_bits) pos;
switch (error)
{
- unconditional `intptr_t',
Golubev I. N. <=