Small 64bit fix.

main
thebeing 16 years ago
parent fdc1f1e916
commit 13964517ef

@ -22,7 +22,7 @@ static int imp_compare(IMP i1, IMP i2)
}
static int imp_hash(const IMP imp)
{
return ((int)imp) >> 4;
return ((int)(intptr_t)imp) >> 4;
}
#define MAP_TABLE_NAME load_messages
#define MAP_TABLE_COMPARE_FUNCTION imp_compare

Loading…
Cancel
Save