Skinny: size_t has different sizes on different platforms

Resolve (shouldn't) MODSKINNY-5: Compiling mod_skinny on Mac OS X 10.6.3 fails
with error message about format mismatch of 'long unsigned int'
This commit is contained in:
Mathieu Parent 2010-05-25 09:29:01 +02:00
parent 678c7c90b5
commit a2ceff1471
1 changed files with 1 additions and 1 deletions

View File

@ -629,7 +629,7 @@ char* skinny_codec2string(enum skinny_codecs skinnycodec);
#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 %s (type=%x,length=%d), expected %d.\n",\
"Received Too Short Skinny Message %s (type=%x,length=%d), expected %" SWITCH_SIZE_T_FMT ".\n",\
skinny_message_type2str(request->type), request->type, request->length,\
len+4);\
return SWITCH_STATUS_FALSE;\