Fix build (hopefully) on Win64 by using uintptr_t more widely; Win64 is a
LLP64 platform so it's unsafe to cast pointers to unsigned long.
Reported by: Chris Tophe <[email protected]>
svn path=/trunk/yasm/; revision=1774
diff --git a/libyasm.h b/libyasm.h
index a1e1c89..b13abc2 100644
--- a/libyasm.h
+++ b/libyasm.h
@@ -48,9 +48,11 @@
typedef struct __FILE FILE;
typedef struct __va_list va_list;
typedef unsigned long size_t;
+typedef unsigned long uintptr_t;
#else
#include <stdio.h>
#include <stdarg.h>
+#include <libyasm-stdint.h>
#endif
#ifdef YASM_LIB_INTERNAL