mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 08:05:37 +00:00
FS-9617: fix build error on rpi
This commit is contained in:
parent
75d4b5607f
commit
743b77c901
@ -429,7 +429,7 @@ void dump_buffer(char *buf, switch_size_t len, int line)
|
||||
}
|
||||
|
||||
buff[j] = '\0';
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "%d:%ldDUMP:%s:DUMP\n", line, len, buff);
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "%d:%" SWITCH_SIZE_T_FMT "DUMP:%s:DUMP\n", line, len, buff);
|
||||
}
|
||||
|
||||
char *find_delim(char *buf, int len, char *delim)
|
||||
@ -757,7 +757,7 @@ msrp_msg_t *msrp_parse_buffer(char *buf, int len, msrp_msg_t *msrp_msg, switch_m
|
||||
|
||||
return msrp_msg; /*Fixme: assuming \r\ndelimiter$\r\n present*/
|
||||
}
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "%ld %d %d\n", msrp_msg->payload_bytes, len, dlen);
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "%" SWITCH_SIZE_T_FMT " %d %d\n", msrp_msg->payload_bytes, len, dlen);
|
||||
|
||||
msrp_msg->state = MSRP_ST_ERROR;
|
||||
return msrp_msg;
|
||||
|
Loading…
x
Reference in New Issue
Block a user