changeset 45416:c6aa7f66df20

update LISP_MAKE_RVALUE comment for union, non-gcc case
author Ken Raeburn <raeburn@raeburn.org>
date Mon, 20 May 2002 08:38:28 +0000
parents 79475bcb87bb
children fe2a8cd911d0
files src/lisp.h
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lisp.h	Mon May 20 08:10:41 2002 +0000
+++ b/src/lisp.h	Mon May 20 08:38:28 2002 +0000
@@ -235,7 +235,11 @@
     return o;
 }
 #else
-#define LISP_MAKE_RVALUE(o) (o) /* XXX - keeps arg as rvalue.  */
+/* This isn't quite right - it keeps the argument as an lvalue.
+   Making it const via casting would help avoid code actually
+   modifying the location in question, but the casting could cover
+   other type-related bugs.  */
+#define LISP_MAKE_RVALUE(o) (o)
 #endif
 
 #endif /* NO_UNION_TYPE */