summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorPeter Johnson <peter@tortall.net>2007-02-18 20:42:55 +0000
committerPeter Johnson <peter@tortall.net>2007-02-18 20:42:55 +0000
commit8aa68a2ee26af6f76551cb5be25bc5c9925abac2 (patch)
tree061bf3fdafe4b3cab70c18d7d4cbc9eb217acff4 /util.h
parent7c5901713d041b71ce6cb6e8e6c093518521a71d (diff)
downloadyasm-8aa68a2ee26af6f76551cb5be25bc5c9925abac2.tar.gz
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 <cohika@gmail.com> svn path=/trunk/yasm/; revision=1774
Diffstat (limited to 'util.h')
-rw-r--r--util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/util.h b/util.h
index 842f0211..2b953197 100644
--- a/util.h
+++ b/util.h
@@ -60,6 +60,8 @@
#include <string.h>
#include <assert.h>
+#include <libyasm-stdint.h>
+
#include <libyasm/coretype.h>
#ifdef lint