Explorar o código

Fix another size_t variable type

Richard Laager %!s(int64=15) %!d(string=hai) anos
pai
achega
041156111a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/docsis_decode.c

+ 1 - 1
src/docsis_decode.c

@@ -218,7 +218,7 @@ void decode_ushort_list (unsigned char *tlvbuf, symbol_type *sym, size_t length)
 
 void decode_unknown (unsigned char *tlvbuf, symbol_type *sym, size_t length )
 {
-  int len=0;
+  size_t len=0;
   char *cp,*value;
   char hexvalue[514];