about summary refs log tree commit diff homepage
path: root/runtime/klee-libc/klee-choose.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/klee-libc/klee-choose.c')
-rw-r--r--runtime/klee-libc/klee-choose.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/klee-libc/klee-choose.c b/runtime/klee-libc/klee-choose.c
index 347933df..181aedaa 100644
--- a/runtime/klee-libc/klee-choose.c
+++ b/runtime/klee-libc/klee-choose.c
@@ -9,8 +9,8 @@
 
 #include "klee/klee.h"
 
-unsigned klee_choose(unsigned n) {
-  unsigned x;
+uintptr_t klee_choose(uintptr_t n) {
+  uintptr_t x;
   klee_make_symbolic(&x, sizeof x, "klee_choose");
 
   // NB: this will *not* work if they don't compare to n values.