]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Skinny: more portable printf for sizeof (thanks to bkw)
authorMathieu Parent <math.parent@gmail.com>
Wed, 10 Mar 2010 17:04:00 +0000 (17:04 +0000)
committerMathieu Parent <math.parent@gmail.com>
Wed, 10 Mar 2010 17:04:00 +0000 (17:04 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16961 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_skinny/skinny_protocol.h

index 8e9acb1a94433fd81986aec9c154cd7c275cf794..bd486d3d9e3c92d8afdec892d9fb509da5593961 100644 (file)
@@ -795,7 +795,7 @@ uint32_t skinny_str2device_reset_type(const char *str);
 /*****************************************************************************/
 #define skinny_check_data_length(message, len) \
        if (message->length < len+4) {\
-               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Received Too Short Skinny Message (Expected %zu, got %d).\n", len+4, message->length);\
+               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Received Too Short Skinny Message (Expected %" SWITCH_SIZE_T_FMT ", got %d).\n", len+4, message->length);\
                return SWITCH_STATUS_FALSE;\
        }