Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv13334
Modified Files:
ast_expr2.fl ast_expr2.y
Log Message:
don't use unsigned in on Solaris, will break math expressions that are
supposed to generate negative results (related to issue #5050)
Index: ast_expr2.fl
===================================================================
RCS file: /usr/cvsroot/asterisk/ast_expr2.fl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- ast_expr2.fl 24 Jun 2005 02:51:47 -0000 1.4
+++ ast_expr2.fl 29 Aug 2005 20:17:25 -0000 1.5
@@ -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: ast_expr2.y
===================================================================
RCS file: /usr/cvsroot/asterisk/ast_expr2.y,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- ast_expr2.y 24 Jun 2005 02:51:47 -0000 1.4
+++ ast_expr2.y 29 Aug 2005 20:17:25 -0000 1.5
@@ -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>
_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs