mirror of
https://git.zx2c4.com/cgit
synced 2024-11-09 18:18:42 +00: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