writeblobhtml, make fprintf format string const
This commit is contained in:
parent
821a948d08
commit
bba55b6bbc
1 changed files with 1 additions and 1 deletions
2
stagit.c
2
stagit.c
|
@ -380,7 +380,7 @@ writeblobhtml(FILE *fp, const git_blob *blob)
|
|||
{
|
||||
off_t i;
|
||||
size_t n = 0;
|
||||
char *nfmt = "<a href=\"#l%d\" id=\"l%d\">%d</a>\n";
|
||||
const char *nfmt = "<a href=\"#l%d\" id=\"l%d\">%d</a>\n";
|
||||
const char *s = git_blob_rawcontent(blob);
|
||||
git_off_t len = git_blob_rawsize(blob);
|
||||
|
||||
|
|
Loading…
Reference in a new issue