This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian/master
in repository openjk.

commit be7dbae7dc5d241edd1b616bde83c1c974f6f703
Author: Xycaleth <a...@acslo.com>
Date:   Sat Jul 1 15:04:58 2017 +0100

    Fix warnings in l_precomp.cpp
---
 codemp/botlib/l_precomp.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/codemp/botlib/l_precomp.cpp b/codemp/botlib/l_precomp.cpp
index c1b7100..8089a56 100644
--- a/codemp/botlib/l_precomp.cpp
+++ b/codemp/botlib/l_precomp.cpp
@@ -2510,7 +2510,7 @@ int PC_Directive_eval(source_t *source)
        token.whitespace_p = source->scriptstack->script_p;
        token.endwhitespace_p = source->scriptstack->script_p;
        token.linescrossed = 0;
-       sprintf(token.string, "%ld", abs(value));
+       sprintf(token.string, "%ld", labs(value));
        token.type = TT_NUMBER;
        token.subtype = TT_INTEGER|TT_LONG|TT_DECIMAL;
        PC_UnreadSourceToken(source, &token);
@@ -2615,12 +2615,12 @@ int PC_DollarDirective_evalint(source_t *source)
        token.whitespace_p = source->scriptstack->script_p;
        token.endwhitespace_p = source->scriptstack->script_p;
        token.linescrossed = 0;
-       sprintf(token.string, "%ld", abs(value));
+       sprintf(token.string, "%ld", labs(value));
        token.type = TT_NUMBER;
        token.subtype = TT_INTEGER|TT_LONG|TT_DECIMAL;
 
 #ifdef NUMBERVALUE
-       token.intvalue = abs(value);
+       token.intvalue = labs(value);
        token.floatvalue = token.intvalue;
 #endif //NUMBERVALUE
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/openjk.git

_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to