21 Jan, 2013, Vigud wrote in the 21st comment:
Votes: 0
http://ideone.com/lrUb9U
#include <stdio.h>

#define BLA 8

int main(void)
{
int a, b;
int s = BLA;
unsigned char data[1] = {0};

a = (data[0] < (unsigned char)(1 << s));
b = (data[0] < (unsigned char)(1 << BLA ));

printf("%d %d\n", a, b);
}

Quote
1 0
Heh, heh.
25 Jan, 2013, Rarva.Riendf wrote in the 22nd comment:
Votes: 0
yet another Brain Fart that boggled me for a few minutes.
And no compiler to the rescue this time.

if ( !oldPath || oldPath[O] == '\0') {
return bestOrder;
}
}


I really need to go back to a qwerty keyboard when I code…
25 Jan, 2013, Davion wrote in the 23rd comment:
Votes: 0
Not the compilers fault you define O as a numerical constant :)

Edit:
I'm just assuming you're still using ROM's bit system which defines O.
#define O			16384


If this weren't the case, you would certainly get a compiler error.
25 Jan, 2013, Rarva.Riendf wrote in the 24th comment:
Votes: 0
Yep that's the reason. Still having O and 0 so close on the keyboard is annoying as hell. And in azerty I need to hold shift to get the 0. At least in qwerty you don't have this problem as you will catch the size difference :o0
20.0/24