From f94945308fac8af7cfce8aebe159783eb8d8bd9e Mon Sep 17 00:00:00 2001 From: Greg King Date: Sat, 17 Oct 2015 11:53:16 -0400 Subject: [PATCH] Added missing parentheses. A function call had looked like a function pointer (which caused an incompatible comparison). --- samples/sieve.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/sieve.c b/samples/sieve.c index 9f110ec98..8d0619888 100644 --- a/samples/sieve.c +++ b/samples/sieve.c @@ -110,7 +110,7 @@ int main (void) J = 0; } } - if (kbhit() && ReadUpperKey == 'Q') { + if (kbhit() && ReadUpperKey () == 'Q') { break; } }