瀏覽代碼

Fix another size_t variable type

Richard Laager 15 年之前
父節點
當前提交
041156111a
共有 1 個文件被更改,包括 1 次插入1 次删除
  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];