summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kolodyazhny <e0ne@e0ne.info>2020-04-07 13:13:49 +0300
committerGitHub <noreply@github.com>2020-04-07 13:13:49 +0300
commit36e8452b35d14ebdb32e308b219028ce2d8bfea0 (patch)
treeda02fd4c1aa186653443981a127bb4dfe997dc78
parent960be1c0c9dae5fb0a3c6a8bef7be4c4297c047d (diff)
parent08923594eefafe77ce7a40d2c704167f80554f81 (diff)
downloadpyscss-36e8452b35d14ebdb32e308b219028ce2d8bfea0.tar.gz
Merge pull request #397 from stuertz/396_hashtable
Fixed compile error with msvc
-rw-r--r--scss/src/hashtable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scss/src/hashtable.c b/scss/src/hashtable.c
index 70f6cf1..22e4cc6 100644
--- a/scss/src/hashtable.c
+++ b/scss/src/hashtable.c
@@ -43,7 +43,7 @@ murmurhash3(const void *key, const size_t len, const unsigned int seed) {
hash = ((hash << r2) | (hash >> (32 - r2))) * m + n;
}
- tail = (const unsigned char *)(key + nblocks * 4);
+ tail = (const unsigned char *)(key) + nblocks * 4;
switch (len & 3) {
case 3: