aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/minizip/skipset.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/minizip/skipset.h b/contrib/minizip/skipset.h
index 019b88d..381aa13 100644
--- a/contrib/minizip/skipset.h
+++ b/contrib/minizip/skipset.h
@@ -231,7 +231,7 @@ void set_start(set_t *set) {
231 set_grow(set, set->head, 1, 1); // one link back to head for an empty set 231 set_grow(set, set->head, 1, 1); // one link back to head for an empty set
232 *(unsigned char *)&set->head->key = 137; // set id 232 *(unsigned char *)&set->head->key = 137; // set id
233 set->depth = 0; 233 set->depth = 0;
234 set_seed(&set->gen, ((uint64_t)set << 32) ^ 234 set_seed(&set->gen, ((uint64_t)(uintptr_t)set << 32) ^
235 ((uint64_t)time(NULL) << 12) ^ clock(), 0); 235 ((uint64_t)time(NULL) << 12) ^ clock(), 0);
236 set->ran = 1; 236 set->ran = 1;
237} 237}