From d16b4df7fd244c3ab3920104762f5426480ee7de Mon Sep 17 00:00:00 2001 From: Doug Binks Date: Mon, 7 Apr 2014 14:22:12 +0200 Subject: [PATCH] Warning/Error fix: added int return type to nvgIsBlack --- src/nanovg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nanovg.c b/src/nanovg.c index d23dc21..e286b64 100644 --- a/src/nanovg.c +++ b/src/nanovg.c @@ -346,7 +346,7 @@ struct NVGcolor nvgHSLA(float h, float s, float l, unsigned char a) return col; } -nvgIsBlack( struct NVGcolor col ) +int nvgIsBlack( struct NVGcolor col ) { if( col.r == 0.0f && col.g == 0.0f && col.b == 0.0f && col.a == 0.0f ) {