diff src/fns.c @ 58265:491080266027

Avoid side-effects inside XSETFASTINT's arguments.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 16 Nov 2004 15:35:14 +0000
parents 6c9552cf734a
children 0f1b514dc439 b637c617432f
line wrap: on
line diff
--- a/src/fns.c	Tue Nov 16 15:32:33 2004 +0000
+++ b/src/fns.c	Tue Nov 16 15:35:14 2004 +0000
@@ -741,7 +741,7 @@
 		  }
 		else
 		  {
-		    XSETFASTINT (elt, SREF (this, thisindex++));
+		    XSETFASTINT (elt, SREF (this, thisindex)); thisindex++;
 		    if (some_multibyte
 			&& (XINT (elt) >= 0240
 			    || (XINT (elt) >= 0200