summaryrefslogtreecommitdiff
path: root/cxcore/src/cxpersistence.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cxcore/src/cxpersistence.cpp')
-rw-r--r--cxcore/src/cxpersistence.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cxcore/src/cxpersistence.cpp b/cxcore/src/cxpersistence.cpp
index 75efa94..7e64c3d 100644
--- a/cxcore/src/cxpersistence.cpp
+++ b/cxcore/src/cxpersistence.cpp
@@ -4675,7 +4675,7 @@ icvReadGraph( CvFileStorage* fs, CvFileNode* node )
if( header_dt )
CV_CALL( header_size = icvCalcElemSize( header_dt, header_size ));
- if( vtx_dt > 0 )
+ if( vtx_dt )
{
CV_CALL( src_vtx_size = icvCalcElemSize( vtx_dt, 0 ));
CV_CALL( vtx_size = icvCalcElemSize( vtx_dt, vtx_size ));