diff options
author | 2016-02-28 14:55:49 +1100 | |
---|---|---|
committer | 2016-02-28 14:55:49 +1100 | |
commit | 92b84c84635cba5f7b9d1c01cef1056a611fbb82 (patch) | |
tree | b5df7bbf20ff4e436d1cdf1c467c9318c0fe9964 /src/osd/sdl/window.h | |
parent | aec01e740736db267e452f0ed5947649f79e3408 (diff) |
Pick off some low-hanging PTR64 fruit
Diffstat (limited to 'src/osd/sdl/window.h')
-rw-r--r-- | src/osd/sdl/window.h | 11 |
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 |