New gcc versions comlpain about undefined behaviour...

This commit is contained in:
Michael Schroeder 2010-04-12 12:11:05 +02:00 committed by Florian Festi
parent daec6ebf58
commit 18c3e1a37c
1 changed files with 2 additions and 2 deletions

View File

@ -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 '=':