diff options
author | Simon Howard | 2006-03-02 01:01:05 +0000 |
---|---|---|
committer | Simon Howard | 2006-03-02 01:01:05 +0000 |
commit | 9f994d9c980cf5fb64246b2cc1572e043dff6752 (patch) | |
tree | bd1e08cfabb1bbfc765e5cf7bfef705a3314f9bb | |
parent | 859b503bae0c66a843ba83d89224b6cddc28e132 (diff) | |
download | chocolate-doom-9f994d9c980cf5fb64246b2cc1572e043dff6752.tar.gz chocolate-doom-9f994d9c980cf5fb64246b2cc1572e043dff6752.tar.bz2 chocolate-doom-9f994d9c980cf5fb64246b2cc1572e043dff6752.zip |
Add unsigned qualifiers on swapping functions, to stop problems on
MacOS X.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 406
-rw-r--r-- | src/m_swap.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/m_swap.h b/src/m_swap.h index e0887038..86bd5d5c 100644 --- a/src/m_swap.h +++ b/src/m_swap.h @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: m_swap.h 342 2006-01-24 01:46:08Z fraggle $ +// $Id: m_swap.h 406 2006-03-02 01:01:05Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -37,8 +37,8 @@ // Endianess handling. // WAD files are stored little endian. #ifdef WORDS_BIGENDIAN -short SwapSHORT(short); -int SwapLONG(int); +extern unsigned short SwapSHORT(unsigned short); +extern unsigned int SwapLONG(unsigned int); #define SHORT(x) ((short)SwapSHORT((unsigned short) (x))) #define LONG(x) ((int)SwapLONG((unsigned int) (x))) #else |