X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cfbe03c9c3ffecd6363dcc63e6fc27b8c6ed70aa..300b1288331acc7ac3482595bb226a52f8aec238:/src/xpm/xpm34p.h diff --git a/src/xpm/xpm34p.h b/src/xpm/xpm34p.h index 31a7008484..964c294b51 100644 --- a/src/xpm/xpm34p.h +++ b/src/xpm/xpm34p.h @@ -288,7 +288,7 @@ FUNC(xpmHashSlot, xpmHashAtom *, (xpmHashTable *table, char *s)); FUNC(xpmHashIntern, int, (xpmHashTable *table, char *tag, void *data)); #define HashAtomData(i) ((void *)i) -#define HashColorIndex(slot) ((unsigned int)((*slot)->data)) +#define HashColorIndex(slot) ((unsigned int)(unsigned long)((*slot)->data)) #define USE_HASHTABLE (cpp > 2 && ncolors > 4) #ifdef NEED_STRDUP