projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add remark about how to update the homepage.
[mmh]
/
sbr
/
m_scratch.c
diff --git
a/sbr/m_scratch.c
b/sbr/m_scratch.c
index
30601f1
..
df63531
100644
(file)
--- a/
sbr/m_scratch.c
+++ b/
sbr/m_scratch.c
@@
-33,7
+33,7
@@
m_scratch (char *file, char *template)
if ((cp = r1bindex (file, '/')) == file)
strncpy (buffer, tmpfil, sizeof(buffer));
else
if ((cp = r1bindex (file, '/')) == file)
strncpy (buffer, tmpfil, sizeof(buffer));
else
- snprintf (buffer, sizeof(buffer), "%.*s%s", cp - file, file, tmpfil);
+ snprintf (buffer, sizeof(buffer), "%.*s%s", (int)(cp - file), file, tmpfil);
unlink (buffer);
return buffer;
unlink (buffer);
return buffer;