From 8087d584512a0b821d1daacc5593d1dab2b43dda Mon Sep 17 00:00:00 2001 From: "Paul m. p. P" Date: Sun, 10 Apr 2022 21:27:59 +0200 Subject: [PATCH] fix init value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Chipmunk2D/demo/ChipmunkDemo.c: In function ‘ChipmunkDemoDefaultDrawImpl’: Chipmunk2D/demo/ChipmunkDemo.c:192:17: error: incompatible types when initializing type ‘double’ using type ‘void *’ 192 | NULL, | ^~~~ --- demo/ChipmunkDemo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/ChipmunkDemo.c b/demo/ChipmunkDemo.c index 7f144e50..9a478161 100644 --- a/demo/ChipmunkDemo.c +++ b/demo/ChipmunkDemo.c @@ -189,7 +189,7 @@ ChipmunkDemoDefaultDrawImpl(cpSpace *space) ColorForShape, {0.0f, 0.75f, 0.0f, 1.0f}, // Constraint color {1.0f, 0.0f, 0.0f, 1.0f}, // Collision point color - NULL, + 0, }; cpSpaceDebugDraw(space, &drawOptions);