1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

for #742, refine the u_intxx_t to uintxx_t

This commit is contained in:
winlin 2017-01-30 17:32:18 +08:00
parent 011ac4f6a9
commit b16ab038ce
49 changed files with 278 additions and 275 deletions

View file

@ -581,7 +581,7 @@ SrsConnection* SrsHttpMessage::connection()
return conn;
}
u_int8_t SrsHttpMessage::method()
uint8_t SrsHttpMessage::method()
{
if (jsonp && !jsonp_method.empty()) {
if (jsonp_method == "GET") {
@ -595,12 +595,12 @@ u_int8_t SrsHttpMessage::method()
}
}
return (u_int8_t)_header.method;
return (uint8_t)_header.method;
}
u_int16_t SrsHttpMessage::status_code()
uint16_t SrsHttpMessage::status_code()
{
return (u_int16_t)_header.status_code;
return (uint16_t)_header.status_code;
}
string SrsHttpMessage::method_str()