Use uintptr_t Opaque type
[tedtools.git] / sfxstr.c
index 6337f8c..6cb581c 100644 (file)
--- a/sfxstr.c
+++ b/sfxstr.c
@@ -46,7 +46,7 @@
 
 #define SFSTREE_VERSION                0x0100
 
-typedef unsigned long Opaque;  /* XXX sizeof(Opaque) == sizeof(void *) */
+typedef uintptr_t Opaque;  /* XXX sizeof(Opaque) == sizeof(void *) */
 
 #define CHECK_MEMORY(tree)     ( ( (tree)->plainmemory ) ? \
        tlog(TL_CRIT|TL_EXIT, "Tree in plain memory - read only access") : (void)0 )