Commit 8c66a5b2 authored by Simon Morlat's avatar Simon Morlat

Fix compilation error in msg_parser.h with modern compilers.

parent 6cec5174
...@@ -11,7 +11,7 @@ dnl information on the package ...@@ -11,7 +11,7 @@ dnl information on the package
dnl --------------------------- dnl ---------------------------
dnl update both the version for AC_INIT and the LIBSOFIA_SIP_UA_MAJOR_MINOR dnl update both the version for AC_INIT and the LIBSOFIA_SIP_UA_MAJOR_MINOR
AC_INIT([sofia-sip], [1.13.34bc]) AC_INIT([sofia-sip], [1.13.35bc])
AC_CONFIG_SRCDIR([libsofia-sip-ua/sip/sofia-sip/sip.h]) AC_CONFIG_SRCDIR([libsofia-sip-ua/sip/sofia-sip/sip.h])
AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_MACRO_DIR([m4])
AC_SUBST(VER_LIBSOFIA_SIP_UA_MAJOR_MINOR, [1.13]) AC_SUBST(VER_LIBSOFIA_SIP_UA_MAJOR_MINOR, [1.13])
......
...@@ -248,7 +248,7 @@ SOFIAPUBFUN int msg_header_update_params(msg_common_t *h, int clear); ...@@ -248,7 +248,7 @@ SOFIAPUBFUN int msg_header_update_params(msg_common_t *h, int clear);
((v) = 1) : 0) ((v) = 1) : 0)
/** Calculate allocated number of items in parameter list. @HI */ /** Calculate allocated number of items in parameter list. @HI */
#define MSG_PARAMS_NUM(n) (((n) + MSG_N_PARAMS - 1) & (size_t)(0 - MSG_N_PARAMS)) #define MSG_PARAMS_NUM(n) ((((size_t)n) + MSG_N_PARAMS - 1) & (size_t)(0 - MSG_N_PARAMS))
/** Parse a semicolong-separated attribute-value list. @HI */ /** Parse a semicolong-separated attribute-value list. @HI */
SOFIAPUBFUN issize_t msg_avlist_d(su_home_t *, char **ss, SOFIAPUBFUN issize_t msg_avlist_d(su_home_t *, char **ss,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment