Author: infinoid
Date: Fri Mar 21 10:12:38 2008
New Revision: 26511

Modified:
   trunk/src/utils.c

Log:
Patch from RT #51984 doesn't appear to change any actual functionality, quiets
some warnings on win32/msvc, and passes tests.  Apply it.
Minor modification: I split the line into 2, to pass t/codingstd/linelength.t.
Thanks, Andrew Whitworth!  wknight8111++


Modified: trunk/src/utils.c
==============================================================================
--- trunk/src/utils.c   (original)
+++ trunk/src/utils.c   Fri Mar 21 10:12:38 2008
@@ -65,7 +65,8 @@
 static void swap(void **x, void **y);
 /* HEADERIZER END: static */
 
-#define move_reg(from, dest, c) (c)->mov((c)->interp, (dest), (from), 
(c)->info)
+#define move_reg(from, dest, c) (c)->mov((c)->interp, (unsigned char)(dest), \
+                                         (unsigned char)(from), (c)->info)
 
 /*
 

Reply via email to