summaryrefslogtreecommitdiff
path: root/src/i_swap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/i_swap.h')
-rw-r--r--src/i_swap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i_swap.h b/src/i_swap.h
index 065037a4..c1b11040 100644
--- a/src/i_swap.h
+++ b/src/i_swap.h
@@ -39,7 +39,7 @@
// of the macros in the original source and some code relies on it.
#define SHORT(x) ((signed short) SDL_SwapLE16(x))
-#define LONG(x) ((signed long) SDL_SwapLE32(x))
+#define LONG(x) ((signed int) SDL_SwapLE32(x))
// Defines for checking the endianness of the system.