From 9be773046a551761c2c9c34b1176e3ae13661704 Mon Sep 17 00:00:00 2001 From: Murai Takashi Date: Wed, 16 Jun 2021 05:50:51 +0900 Subject: [PATCH] gutenprint: Fix ASSERT expression MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I7fb39364fe8cf2b5596764bb4db3bda12295a171 Reviewed-on: https://review.haiku-os.org/c/haiku/+/4096 Tested-by: Commit checker robot Reviewed-by: Jérôme Duval Reviewed-by: Jacob Secunda --- src/add-ons/print/drivers/gutenprint/GPArray.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/add-ons/print/drivers/gutenprint/GPArray.cpp b/src/add-ons/print/drivers/gutenprint/GPArray.cpp index aab29cbff9..e44771bd51 100644 --- a/src/add-ons/print/drivers/gutenprint/GPArray.cpp +++ b/src/add-ons/print/drivers/gutenprint/GPArray.cpp @@ -32,7 +32,7 @@ template void GPArray::SetSize(int size) { - ASSERT(fSize == NULL); + ASSERT(fSize == 0); fArray = new PointerType[size]; if (fArray == NULL) return;