diff options
author | Teddy <ted.sybil@gmail.com> | 2014-03-26 20:03:50 +0800 |
---|---|---|
committer | Teddy <ted.sybil@gmail.com> | 2014-03-26 20:03:50 +0800 |
commit | 3599a86d68c664f24fce8c853f482cad0af6ed6a (patch) | |
tree | 71453eadb97151ce4a79ffa15fd5bf74a9b5b310 /semantics.c | |
parent | dc4cacf854d28a0df88e37e2f0c0abce421657a9 (diff) |
move all const to a seperate file
Diffstat (limited to 'semantics.c')
-rw-r--r-- | semantics.c | 2 |
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) { |