From cc00d5c5904a0af089dee12cdfa3dd24b91e4a37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kleber=20Tarc=C3=ADsio?= Date: Tue, 31 Dec 2019 12:49:21 -0300 Subject: gdcache: fix main function error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit First argument of ‘main’ should be ‘int’. --- src/gdcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gdcache.c b/src/gdcache.c index b264d6e..ac882ac 100644 --- a/src/gdcache.c +++ b/src/gdcache.c @@ -192,7 +192,7 @@ static void cacheRelease(void *map) gdFree((char *)map); } -int main(char *argv[], int argc) +int main(int argc, char **argv) { gdCache_head_t *cacheTable; int elem, key; -- cgit v1.2.1