diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2017-04-01 19:33:19 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2017-04-01 19:33:19 +0200 |
commit | bba55b6bbcf35f9da67593a04d0b3daecbcd07b7 (patch) | |
tree | 2f316cc05dfc7b45ab0785e278896932faa2df93 /stagit.c | |
parent | 821a948d0801a4c115257b59352bf441e39c0922 (diff) |
writeblobhtml, make fprintf format string const
Diffstat (limited to 'stagit.c')
-rw-r--r-- | stagit.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |