From 27bb1ca4b00cb47153db3016ced27c0327932fce Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 17 Jun 2012 00:57:28 -0700 Subject: * coding.c (produce_chars): Use ptrdiff_t, not int. --- src/coding.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/coding.c') diff --git a/src/coding.c b/src/coding.c index ab13f0311c0..64826ae16b9 100644 --- a/src/coding.c +++ b/src/coding.c @@ -6765,7 +6765,8 @@ produce_chars (struct coding_system *coding, Lisp_Object translation_table, while (buf < buf_end) { - int c = *buf, i; + int c = *buf; + ptrdiff_t i; if (c >= 0) { -- cgit v1.2.1