Browse Source

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

master
kevin.larke 4 years ago
parent
commit
4a106504f6
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      cmSerialize.c

+ 1
- 1
cmSerialize.c View File

@@ -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…
Cancel
Save