diff --git a/src/EbmlMaster.cpp b/src/EbmlMaster.cpp index c15ccef..488be1e 100644 --- a/src/EbmlMaster.cpp +++ b/src/EbmlMaster.cpp @@ -184,7 +184,7 @@ bool EbmlMaster::ProcessMandatory() return true; } - assert(Context.GetSize() != NULL); + assert(Context.GetSize() != 0); unsigned int EltIdx; for (EltIdx = 0; EltIdx < EBML_CTX_SIZE(Context); EltIdx++) { @@ -198,7 +198,7 @@ bool EbmlMaster::ProcessMandatory() bool EbmlMaster::CheckMandatory() const { - assert(Context.GetSize() != NULL); + assert(Context.GetSize() != 0); unsigned int EltIdx; for (EltIdx = 0; EltIdx < EBML_CTX_SIZE(Context); EltIdx++) { @@ -218,7 +218,7 @@ bool EbmlMaster::CheckMandatory() const std::vector EbmlMaster::FindAllMissingElements() { - assert(Context.GetSize() != NULL); + assert(Context.GetSize() != 0); std::vector missingElements;