changeset 59657:f3aa25eacdb3

(STRING_MARKED_P, VECTOR_MARKED_P): Return boolean.
author Kim F. Storm <storm@cua.dk>
date Thu, 20 Jan 2005 15:37:41 +0000
parents 856b53bfaed4
children 45074d913d23
files src/alloc.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/alloc.c	Thu Jan 20 15:37:13 2005 +0000
+++ b/src/alloc.c	Thu Jan 20 15:37:41 2005 +0000
@@ -143,11 +143,11 @@
 
 #define MARK_STRING(S)		((S)->size |= ARRAY_MARK_FLAG)
 #define UNMARK_STRING(S)	((S)->size &= ~ARRAY_MARK_FLAG)
-#define STRING_MARKED_P(S)	((S)->size & ARRAY_MARK_FLAG)
+#define STRING_MARKED_P(S)	(((S)->size & ARRAY_MARK_FLAG) != 0)
 
 #define VECTOR_MARK(V)		((V)->size |= ARRAY_MARK_FLAG)
 #define VECTOR_UNMARK(V)	((V)->size &= ~ARRAY_MARK_FLAG)
-#define VECTOR_MARKED_P(V)	((V)->size & ARRAY_MARK_FLAG)
+#define VECTOR_MARKED_P(V)	(((V)->size & ARRAY_MARK_FLAG) != 0)
 
 /* Value is the number of bytes/chars of S, a pointer to a struct
    Lisp_String.  This must be used instead of STRING_BYTES (S) or