writeblobhtml, make fprintf format string const
1 files changed, 1 insertions(+), 1 deletions(-) | |||
---|---|---|---|
M | stagit.c | +1 | -1 |
1@@ -380,7 +380,7 @@ writeblobhtml(FILE *fp, const git_blob *blob)
2 {
3 off_t i;
4 size_t n = 0;
5- char *nfmt = "<a href=\"#l%d\" id=\"l%d\">%d</a>\n";
6+ const char *nfmt = "<a href=\"#l%d\" id=\"l%d\">%d</a>\n";
7 const char *s = git_blob_rawcontent(blob);
8 git_off_t len = git_blob_rawsize(blob);
9