mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +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