From 0318facd154ff251640299bc91b36193404e4ee2 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Fri, 3 Sep 2021 19:49:06 -0700 Subject: [PATCH] glCompSetNew: remove an open coded NULL --- lib/glcomp/glcompset.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/glcomp/glcompset.c b/lib/glcomp/glcompset.c index 9e19e6f31..d17459215 100644 --- a/lib/glcomp/glcompset.c +++ b/lib/glcomp/glcompset.c @@ -16,6 +16,7 @@ #include #include +#include static GLfloat startX, startY; @@ -204,7 +205,7 @@ glCompSet *glCompSetNew(int w, int h) s->common.height = (GLfloat) h; s->groupCount = 0; s->objcnt = 0; - s->obj = (glCompObj **) 0; + s->obj = NULL; s->textureCount = 0; s->textures = (glCompTex **) 0; s->common.font = glNewFontFromParent((glCompObj *) s, NULL); -- 2.40.0