Change intptr_t to uintptr_t in hashlib.h

This commit is contained in:
Clifford Wolf 2017-07-18 17:38:19 +02:00
parent dbb2f755c1
commit c251e3a576
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ struct hash_ptr_ops {
return a == b;
}
static inline unsigned int hash(const void *a) {
return (intptr_t)a;
return (uintptr_t)a;
}
};