Author: lupus
Date: 2006-06-15 11:00:59 -0400 (Thu, 15 Jun 2006)
New Revision: 61757

Modified:
   trunk/mono/mono/arch/ChangeLog
   trunk/mono/mono/arch/ppc/ppc-codegen.h
Log:


Thu Jun 15 16:59:36 CEST 2006 Paolo Molaro <[EMAIL PROTECTED]>

        * ppc/ppc-codegen.h: reduce noisy build warnings by
        casting to the more commonly used unsigned char type
        (from [EMAIL PROTECTED] (Johannes Berg)).



Modified: trunk/mono/mono/arch/ChangeLog
===================================================================
--- trunk/mono/mono/arch/ChangeLog      2006-06-15 14:56:09 UTC (rev 61756)
+++ trunk/mono/mono/arch/ChangeLog      2006-06-15 15:00:59 UTC (rev 61757)
@@ -1,3 +1,10 @@
+
+Thu Jun 15 16:59:36 CEST 2006 Paolo Molaro <[EMAIL PROTECTED]>
+
+       * ppc/ppc-codegen.h: reduce noisy build warnings by
+       casting to the more commonly used unsigned char type
+       (from [EMAIL PROTECTED] (Johannes Berg)).
+
 2006-05-14  Zoltan Varga  <[EMAIL PROTECTED]>
 
        * ia64/ia64-codegen.h (ia64_fetchadd8_acq_hint_pred): Fix encoding of 
this

Modified: trunk/mono/mono/arch/ppc/ppc-codegen.h
===================================================================
--- trunk/mono/mono/arch/ppc/ppc-codegen.h      2006-06-15 14:56:09 UTC (rev 
61756)
+++ trunk/mono/mono/arch/ppc/ppc-codegen.h      2006-06-15 15:00:59 UTC (rev 
61757)
@@ -117,7 +117,7 @@
        PPC_TRAP_GE_UN = 16 + PPC_TRAP_EQ
 };
 
-#define ppc_emit32(c,x) do { *((guint32 *) (c)) = x; (c) = (char *)(c) + 
sizeof (guint32);} while (0)
+#define ppc_emit32(c,x) do { *((guint32 *) (c)) = x; (c) = (guint8 *)(c) + 
sizeof (guint32);} while (0)
 
 #define ppc_is_imm16(val) ((gint)(val) >= (gint)-(1<<15) && (gint)(val) <= 
(gint)((1<<15)-1))
 #define ppc_is_uimm16(val) ((gint)(val) >= 0 && (gint)(val) <= 65535)

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to