mirror of https://github.com/YosysHQ/yosys.git
Fix build warnings for win64
Win64 has a 32-bit long. Use intptr_t to work on any data model.
This commit is contained in:
parent
c00d8a5b73
commit
f0741698fa
|
@ -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 (unsigned long)a;
|
return (intptr_t)a;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue