ui-shared: don't use an integer as a NULL pointer
Signed-off-by: John Keeping <john@keeping.me.uk>
This commit is contained in:
förälder
94e5f212f5
incheckning
d34b967190
@ -119,7 +119,7 @@ char *cgit_fileurl(const char *reponame, const char *pagename,
|
||||
char *cgit_pageurl(const char *reponame, const char *pagename,
|
||||
const char *query)
|
||||
{
|
||||
return cgit_fileurl(reponame, pagename, 0, query);
|
||||
return cgit_fileurl(reponame, pagename, NULL, query);
|
||||
}
|
||||
|
||||
const char *cgit_repobasename(const char *reponame)
|
||||
|
Laddar…
Referens i nytt ärende
Block a user