about summary refs log tree commit diff stats
path: root/src/LYCookie.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYCookie.c')
-rw-r--r--src/LYCookie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LYCookie.c b/src/LYCookie.c
index 561f3676..45f74776 100644
--- a/src/LYCookie.c
+++ b/src/LYCookie.c
@@ -1928,7 +1928,7 @@ void LYLoadCookies(char *cookie_file)
 	tok_out = LYstrsep(&tok_ptr, "\t");
 	for (tok_loop = 0; tok_out && tok_values[tok_loop].s; tok_loop++) {
 	    CTRACE((tfp, "\t%d:[%03d]:[%s]\n",
-		    tok_loop, tok_out - buf, tok_out));
+		    tok_loop, (int) (tok_out - buf), tok_out));
 	    LYstrncpy(tok_values[tok_loop].s,
 		      tok_out,
 		      tok_values[tok_loop].n);