mirror of
https://gitea.quitesimple.org/crtxcr/cgitsb
synced 2024-12-03 17:28:15 +01:00
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:
parent
94e5f212f5
commit
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)
|
||||
|
Loading…
Reference in New Issue
Block a user