From 18c3e1a37c482811b7b3af1415ef67aac527b869 Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Mon, 12 Apr 2010 12:11:05 +0200 Subject: New gcc versions comlpain about undefined behaviour... --- luaext/modemuncher.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'luaext') diff --git a/luaext/modemuncher.c b/luaext/modemuncher.c index 9399eaa57..ed86d9f89 100644 --- a/luaext/modemuncher.c +++ b/luaext/modemuncher.c @@ -245,11 +245,11 @@ printf("modemuncher: doneflag = %u\n", doneFlag); 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 '=': -- cgit v1.2.3