]> git.sur5r.net Git - cc65/commitdiff
Added missing parentheses. 220/head
authorGreg King <gregdk@users.sf.net>
Sat, 17 Oct 2015 15:53:16 +0000 (11:53 -0400)
committerGreg King <gregdk@users.sf.net>
Sat, 17 Oct 2015 16:09:06 +0000 (12:09 -0400)
A function call had looked like a function pointer (which caused an incompatible comparison).

samples/sieve.c

index 9f110ec98c7ffa1b60c1a2fe47ab666286d40d59..8d0619888235d9c2e3549919b584474be4496501 100644 (file)
@@ -110,7 +110,7 @@ int main (void)
                     J = 0;
                 }
             }
-            if (kbhit() && ReadUpperKey == 'Q') {
+            if (kbhit() && ReadUpperKey () == 'Q') {
                 break;
             }
         }