Avoid conversion warning on 32-bit architectures in minizip.
This commit is contained in:
parent
90c677bc25
commit
d201f04c72
@ -231,7 +231,7 @@ void set_start(set_t *set) {
|
|||||||
set_grow(set, set->head, 1, 1); // one link back to head for an empty set
|
set_grow(set, set->head, 1, 1); // one link back to head for an empty set
|
||||||
*(unsigned char *)&set->head->key = 137; // set id
|
*(unsigned char *)&set->head->key = 137; // set id
|
||||||
set->depth = 0;
|
set->depth = 0;
|
||||||
set_seed(&set->gen, ((uint64_t)set << 32) ^
|
set_seed(&set->gen, ((uint64_t)(uintptr_t)set << 32) ^
|
||||||
((uint64_t)time(NULL) << 12) ^ clock(), 0);
|
((uint64_t)time(NULL) << 12) ^ clock(), 0);
|
||||||
set->ran = 1;
|
set->ran = 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user