luigi1809 / webfilter-ng

Transparent HTTP/HTTPS/TLS web filter
GNU Lesser General Public License v3.0
37 stars 11 forks source link

A couple make warnings #10

Closed mrbluecoat closed 4 years ago

mrbluecoat commented 4 years ago

make webfilter-ng:

webfilter-ng.c:219:36: warning: comparison of integer expressions of different signedness: ‘u_int’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
      if ((extensions_len + offset) > (tls_header_len + 5)) {
                                    ^
webfilter-ng.c:300:5: warning: statement with no effect [-Wunused-value]
     for(i; i<tcpdatalen ; i++){
     ^~~
luigi1809 commented 4 years ago

merged