summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2008-02-23 19:45:35 +0000
committerMatt Turner <mattst88@gmail.com>2008-02-23 19:45:35 +0000
commitb0cadcab42b11175aadbd426507df0053bc8054e (patch)
tree100caecd53a7107d7b6f84a37794dd3f6f257f56
parent2902668e951a44db215867a2c2d9aa2d899d686b (diff)
Fix dumb mistake
git-svn-id: svn://mattst88.com/svn/glpong/trunk@11 449aeecc-241a-0410-943f-e2f883e2d7a2
-rw-r--r--glpong.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glpong.c b/glpong.c
index 6642f3b..6e87e26 100644
--- a/glpong.c
+++ b/glpong.c
@@ -182,7 +182,7 @@ NextPow2(unsigned int value) {
: "c" (value)
);
#else
- unsigned int x = 0;
+ unsigned int x = 2;
while (x < value) {
x *= 2;
}