New gcc versions comlpain about undefined behaviour...

--- luaext/modemuncher.c.orig   2010-03-26 09:43:45.000000000 +0000
+++ luaext/modemuncher.c        2010-03-26 09:44:54.000000000 +0000
@@ -245,11 +245,11 @@ printf("modemuncher: doneflag = %u\n", d
                if (ch_mode) switch (op)
                {
                        case '+':
-                       *mode = *mode |= ch_mode & affected_bits;
+                       *mode |= ch_mode & affected_bits;
                        break;
 
                        case '-':
-                       *mode = *mode &= ~(ch_mode & affected_bits);
+                       *mode &= ~(ch_mode & affected_bits);
                        break;
 
                        case '=':
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to