mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 07:45:26 +00:00
fix trivial windows compiler warning for vs2010
This commit is contained in:
parent
d8bc5ed7ae
commit
76b093a098
@ -3700,7 +3700,7 @@ SWITCH_DECLARE(switch_status_t) switch_http_parse_header(char *buffer, uint32_t
|
||||
if (p) {
|
||||
*p++ = '\0';
|
||||
|
||||
if (*p) request->port = atoi(p);
|
||||
if (*p) request->port = (switch_port_t)atoi(p);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user