From 7732db71afd13921dc8b3c4e4f9216597d078a9b Mon Sep 17 00:00:00 2001 From: terminx Date: Tue, 24 Mar 2015 00:40:25 +0000 Subject: [PATCH] int64_t -> uint64_t in swap64bit(). DONT_BUILD. git-svn-id: https://svn.eduke32.com/eduke32@5073 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/include/pragmas.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/polymer/eduke32/build/include/pragmas.h b/polymer/eduke32/build/include/pragmas.h index fffe66828..a759152b1 100644 --- a/polymer/eduke32/build/include/pragmas.h +++ b/polymer/eduke32/build/include/pragmas.h @@ -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))); }