summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/sdl/window.h
diff options
context:
space:
mode:
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