aboutsummaryrefslogtreecommitdiff
path: root/semantics.c
diff options
context:
space:
mode:
Diffstat (limited to 'semantics.c')
-rw-r--r--semantics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/semantics.c b/semantics.c
index cb12c29..0f95d2c 100644
--- a/semantics.c
+++ b/semantics.c
@@ -158,7 +158,7 @@ unsigned int bkdr_hash(const char *str) {
unsigned int hv = 0;
while (*str)
hv = hv * seed + (unsigned)(*str++);
- return hv % 5;
+ return hv;
}
const char *cvar_print(void *var) {