From 869c221f3a367d46f195ccf4f660e736e6d9ac7d Mon Sep 17 00:00:00 2001 From: Mathieu Parent Date: Wed, 10 Mar 2010 17:04:00 +0000 Subject: [PATCH] Skinny: more portable printf for sizeof (thanks to bkw) git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16961 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_skinny/skinny_protocol.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_skinny/skinny_protocol.h b/src/mod/endpoints/mod_skinny/skinny_protocol.h index 8e9acb1a94..bd486d3d9e 100644 --- a/src/mod/endpoints/mod_skinny/skinny_protocol.h +++ b/src/mod/endpoints/mod_skinny/skinny_protocol.h @@ -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;\ }