summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dired.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dired.c b/src/dired.c
index 039dd68c177..feb5f05cb18 100644
--- a/src/dired.c
+++ b/src/dired.c
@@ -167,7 +167,7 @@ directory_files_internal (Lisp_Object directory, Lisp_Object full,
Lisp_Object match, Lisp_Object nosort, bool attrs,
Lisp_Object id_format, Lisp_Object return_count)
{
- ptrdiff_t ind = 0, last = MOST_POSITIVE_FIXNUM;
+ EMACS_INT ind = 0, last = MOST_POSITIVE_FIXNUM;
if (!NILP (return_count))
{