Introduction
Introduction Statistics Contact Development Disclaimer Help
twriteblobhtml, make fprintf format string const - stagit - static git page gen…
git clone git://src.adamsgaard.dk/stagit
Log
Files
Refs
README
LICENSE
---
commit bba55b6bbcf35f9da67593a04d0b3daecbcd07b7
parent 821a948d0801a4c115257b59352bf441e39c0922
Author: Hiltjo Posthuma <[email protected]>
Date: Sat, 1 Apr 2017 19:33:19 +0200
writeblobhtml, make fprintf format string const
Diffstat:
M stagit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/stagit.c b/stagit.c
t@@ -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);
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.