Removed ALL the compile warnings!
This commit is contained in:
parent
b5a4ea1b93
commit
12a0c1942c
18 changed files with 218 additions and 211 deletions
|
@ -198,7 +198,7 @@ void HTTP::Parser::Proxy(Socket::Connection & from, Socket::Connection & to){
|
|||
}
|
||||
unsigned int chunkLen = 0;
|
||||
if ( !tmpA.empty()){
|
||||
for (int i = 0; i < tmpA.size(); ++i){
|
||||
for (unsigned int i = 0; i < tmpA.size(); ++i){
|
||||
chunkLen = (chunkLen << 4) | unhex(tmpA[i]);
|
||||
}
|
||||
if (chunkLen == 0){
|
||||
|
@ -457,7 +457,7 @@ bool HTTP::Parser::parse(std::string & HTTPbuffer){
|
|||
}
|
||||
unsigned int chunkLen = 0;
|
||||
if ( !tmpA.empty()){
|
||||
for (int i = 0; i < tmpA.size(); ++i){
|
||||
for (unsigned int i = 0; i < tmpA.size(); ++i){
|
||||
chunkLen = (chunkLen << 4) | unhex(tmpA[i]);
|
||||
}
|
||||
if (chunkLen == 0){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue