mirror of https://github.com/YosysHQ/yosys.git
Change intptr_t to uintptr_t in hashlib.h
This commit is contained in:
parent
dbb2f755c1
commit
c251e3a576
|
@ -147,7 +147,7 @@ struct hash_ptr_ops {
|
||||||
return a == b;
|
return a == b;
|
||||||
}
|
}
|
||||||
static inline unsigned int hash(const void *a) {
|
static inline unsigned int hash(const void *a) {
|
||||||
return (intptr_t)a;
|
return (uintptr_t)a;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue