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:
terminx 2015-03-24 00:40:25 +00:00
parent 112652c5b9
commit 7732db71af

View file

@ -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))); }