git@sv
/
enscript.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ready for testing
[enscript.git]
/
states
/
main.c
diff --git
a/states/main.c
b/states/main.c
index
1c330dc
..
b0865f4
100644
(file)
--- a/
states/main.c
+++ b/
states/main.c
@@
-371,7
+371,7
@@
main (argc, argv)
if (cp)
{
path = xmalloc (cp - defs_file + 3);
- sprintf (path, ".%c%.*s", PATH_SEPARATOR,
cp - defs_file
, defs_file);
+ sprintf (path, ".%c%.*s", PATH_SEPARATOR,
(int)(cp - defs_file)
, defs_file);
}
else
path = ".";