foo.c:66:11: Test expression for conditional not boolean, type int: a Test expression type is not boolean or int. (Use -predboolint to inhibit warning) is it allowed to be int or not? i'm confused -- Aaron Davies aaron.davies at gmail.com