about summary refs log tree commit diff stats
path: root/src/HTInit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/HTInit.c')
-rw-r--r--src/HTInit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HTInit.c b/src/HTInit.c
index 5c8fafe6..73619aab 100644
--- a/src/HTInit.c
+++ b/src/HTInit.c
@@ -699,7 +699,7 @@ static int BuildCommand(HTChunk *cmd,
 		    if (params != 0) {
 			++from;
 			name = 0;
-			HTSprintf0(&name, "%.*s", next - from, from);
+			HTSprintf0(&name, "%.*s", (int) (next - from), from);
 			if ((value = LYGetContentType(name, params)) != 0) {
 			    HTChunkPuts(cmd, value);
 			    FREE(value);