Browse Source

Fixed missing void in function with no parameters

shared-context
Christian Forfang 11 years ago
parent
commit
565fa16265
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/nanovg.c

+ 1
- 1
src/nanovg.c View File

@@ -151,7 +151,7 @@ static void nvg__deletePathCache(struct NVGpathCache* c)
free(c); free(c);
} }


static struct NVGpathCache* nvg__allocPathCache()
static struct NVGpathCache* nvg__allocPathCache(void)
{ {
struct NVGpathCache* c = (struct NVGpathCache*)malloc(sizeof(struct NVGpathCache)); struct NVGpathCache* c = (struct NVGpathCache*)malloc(sizeof(struct NVGpathCache));
if (c == NULL) goto error; if (c == NULL) goto error;


Loading…
Cancel
Save