summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/sdl/window.h
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2016-02-28 14:55:49 +1100
committer Vas Crabb <vas@vastheman.com>2016-02-28 14:55:49 +1100
commit92b84c84635cba5f7b9d1c01cef1056a611fbb82 (patch)
treeb5df7bbf20ff4e436d1cdf1c467c9318c0fe9964 /src/osd/sdl/window.h
parentaec01e740736db267e452f0ed5947649f79e3408 (diff)
Pick off some low-hanging PTR64 fruit
Diffstat (limited to 'src/osd/sdl/window.h')
-rw-r--r--src/osd/sdl/window.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/osd/sdl/window.h b/src/osd/sdl/window.h
index f10bf6fbd92..6cb2a497ebb 100644
--- a/src/osd/sdl/window.h
+++ b/src/osd/sdl/window.h
@@ -17,18 +17,15 @@
#include "modules/osdwindow.h"
-// I don't like this, but we're going to get spurious "cast to integer of different size" warnings on
-// at least one architecture without doing it this way.
-#ifdef PTR64
-typedef UINT64 HashT;
-#else
-typedef UINT32 HashT;
-#endif
+#include <cstdint>
+
//============================================================
// TYPE DEFINITIONS
//============================================================
+typedef uintptr_t HashT;
+
#define OSDWORK_CALLBACK(name) void *name(void *param, ATTR_UNUSED int threadid)
class sdl_window_info : public osd_window