blob: 643b92d2a4cf87fcbc14745cdb2394d6bbc9d8ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/src/data/DataDist.c b/src/data/DataDist.c
index 7f7121f..d303e9e 100644
--- a/src/data/DataDist.c
+++ b/src/data/DataDist.c
@@ -89,7 +89,7 @@ hashInter(void *p, unsigned size)
{
TabEntryInter *entryP = p;
- return ((unsigned) entryP->atom1P + (unsigned) entryP->atom2P) % size;
+ return ((unsigned)(uintptr_t) entryP->atom1P + (unsigned)(uintptr_t) entryP->atom2P) % size;
}
static int
|