diff options
author | Michael Schroeder <mls@suse.de> | 2010-04-12 12:11:05 +0200 |
---|---|---|
committer | Florian Festi <ffesti@redhat.com> | 2010-04-12 12:11:05 +0200 |
commit | 18c3e1a37c482811b7b3af1415ef67aac527b869 (patch) | |
tree | e329b858be935bb8759d34815686c0ebb8c9e577 /luaext | |
parent | daec6ebf58331776279f389738af4788b865033d (diff) | |
download | rpm-18c3e1a37c482811b7b3af1415ef67aac527b869.tar.gz rpm-18c3e1a37c482811b7b3af1415ef67aac527b869.tar.bz2 rpm-18c3e1a37c482811b7b3af1415ef67aac527b869.zip |
New gcc versions comlpain about undefined behaviour...
Diffstat (limited to 'luaext')
-rw-r--r-- | luaext/modemuncher.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 '=': |