]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
don't use unsigned in on Solaris, will break math expressions that are
authorKevin P. Fleming <kpfleming@digium.com>
Mon, 29 Aug 2005 20:17:25 +0000 (20:17 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Mon, 29 Aug 2005 20:17:25 +0000 (20:17 +0000)
supposed to generate negative results (related to issue #5050)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6436 65c4cc65-6c06-0410-ace0-fbb531ad65f3

ast_expr2.fl
ast_expr2.y

index 86a16c3fae26b01c9e5877315100ddb6dc07751f..3eaf80461a3edb8d7c5d25b0c4386acb873585b0 100755 (executable)
@@ -8,7 +8,7 @@
 #ifndef SOLARIS
 #include <err.h>
 #else
-#define quad_t uint64_t
+#define quad_t int64_t
 #endif
 #include <errno.h>
 #include <regex.h>
index f999a2b109c1ee97f639b7fc1bf4105402abbedd..c2af98ce2733d8460e4407e1f99b308a686b6da6 100755 (executable)
@@ -21,7 +21,7 @@
 #ifndef SOLARIS
 #include <err.h>
 #else
-#define quad_t uint64_t
+#define quad_t int64_t
 #endif
 #include <errno.h>
 #include <regex.h>