mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
int64_t -> uint64_t in swap64bit(). DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@5073 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
112652c5b9
commit
7732db71af
1 changed files with 3 additions and 3 deletions
|
@ -198,9 +198,9 @@ static inline void swapfloat(void *a, void *b)
|
|||
}
|
||||
static inline void swap64bit(void *a, void *b)
|
||||
{
|
||||
int64_t t = *((int64_t *)b);
|
||||
*((int64_t *)b) = *((int64_t *)a);
|
||||
*((int64_t *)a) = t;
|
||||
uint64_t t = *((uint64_t *)b);
|
||||
*((uint64_t *)b) = *((uint64_t *)a);
|
||||
*((uint64_t *)a) = t;
|
||||
}
|
||||
|
||||
static inline char readpixel(void *s) { return (*((char *)(s))); }
|
||||
|
|
Loading…
Reference in a new issue