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:
parent
011ac4f6a9
commit
b16ab038ce
49 changed files with 278 additions and 275 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue