4 ms·
github_idea4good is unsigned. There’s an implicit cast at the assignment. The condition is still true and that path is always executed.
by amscanne 9y ago
github_idea4good is unsigned. There’s an implicit cast at the assignment. The condition is still true and that path is always executed.
- idea4good 9y agogood catch! Change it like this: #define PROBE_TIMES 100000 static int github_idea4good = -1; If probe times big enough, it works still.