From 35e4f19ceba52e717197b9cdd75142d3c7a5c7c9 Mon Sep 17 00:00:00 2001 From: helixhorned Date: Sun, 1 Jul 2012 22:11:20 +0000 Subject: [PATCH] Make nsqrtasm return int32_t (instead of uint32_t) when compiled with GCC/x86. git-svn-id: https://svn.eduke32.com/eduke32@2793 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/src/engine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polymer/eduke32/build/src/engine.c b/polymer/eduke32/build/src/engine.c index 7adee2bdd..e3c4bf194 100644 --- a/polymer/eduke32/build/src/engine.c +++ b/polymer/eduke32/build/src/engine.c @@ -2113,7 +2113,7 @@ static inline int32_t getkensmessagecrc(void *b) #else // __GNUC__ && __i386__ -static inline uint32_t nsqrtasm(uint32_t a) +static inline int32_t nsqrtasm(uint32_t a) { // JBF 20030901: This was a damn lot simpler to reverse engineer than // msqrtasm was. Really, it was just like simplifying an algebra equation.