mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-02 14:48:22 +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) {
|
if (p) {
|
||||||
*p++ = '\0';
|
*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