瀏覽代碼

cmSerialize.c : Fixed a typo in an assertion in _cmSrReadV().

master
kevin.larke 4 年之前
父節點
當前提交
4a106504f6
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      cmSerialize.c

+ 1
- 1
cmSerialize.c 查看文件

@@ -1248,7 +1248,7 @@ cmSrRC_t _cmSrReadV( cmSrH_t h, unsigned typeId, const void** valPtrPtr, unsigne
1248 1248
   if((rc= _cmSrRead(p,typeId, valPtrPtr, &dataByteCnt, eleCntPtr )) != kOkSrRC )
1249 1249
     return rc;
1250 1250
 
1251
-  assert( dataByteCnt = scalarByteCnt * (*eleCntPtr));
1251
+  assert( dataByteCnt == scalarByteCnt * (*eleCntPtr));
1252 1252
 
1253 1253
   return rc;
1254 1254
 }

Loading…
取消
儲存