From 4a106504f64a3a8563eef7139f36893728d69375 Mon Sep 17 00:00:00 2001 From: "kevin.larke" Date: Mon, 9 Mar 2020 14:44:59 -0400 Subject: [PATCH] cmSerialize.c : Fixed a typo in an assertion in _cmSrReadV(). --- cmSerialize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmSerialize.c b/cmSerialize.c index 17b2840..7f6728a 100644 --- a/cmSerialize.c +++ b/cmSerialize.c @@ -1248,7 +1248,7 @@ cmSrRC_t _cmSrReadV( cmSrH_t h, unsigned typeId, const void** valPtrPtr, unsigne if((rc= _cmSrRead(p,typeId, valPtrPtr, &dataByteCnt, eleCntPtr )) != kOkSrRC ) return rc; - assert( dataByteCnt = scalarByteCnt * (*eleCntPtr)); + assert( dataByteCnt == scalarByteCnt * (*eleCntPtr)); return rc; }