Author: gonzalo
Date: 2006-10-08 01:48:09 -0400 (Sun, 08 Oct 2006)
New Revision: 66396
Modified:
trunk/mono/eglib/src/gstr.c
Log:
just in case sign extension kicks in
Modified: trunk/mono/eglib/src/gstr.c
===================================================================
--- trunk/mono/eglib/src/gstr.c 2006-10-08 05:43:40 UTC (rev 66395)
+++ trunk/mono/eglib/src/gstr.c 2006-10-08 05:48:09 UTC (rev 66396)
@@ -609,7 +609,7 @@
if (op != 1) {
*res_ptr++ = op;
} else {
- *res_ptr++ = '0' + ((c >> 6) & 7);
+ *res_ptr++ = '0' + ((c >> 6) & 3);
*res_ptr++ = '0' + ((c >> 3) & 7);
*res_ptr++ = '0' + (c & 7);
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches