diff options
author | Eli Zaretskii <eliz@gnu.org> | 2020-11-02 19:55:48 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2020-11-02 19:55:48 +0200 |
commit | 5f6dcb1c666e931c4bbf3c3385b5334b904ed025 (patch) | |
tree | 193b428dee8f3522830aa22cfe4ea7ae85715c6e /src/dired.c | |
parent | 3e8cdc404fb884f0be473fe2785c3b041c1129fd (diff) | |
download | emacs-5f6dcb1c666e931c4bbf3c3385b5334b904ed025.tar.gz |
Fix a recent change in dired.c
* src/dired.c (directory_files_internal): Fix type of integer
variables to avoid overflow in 32-bit builds --with-wide-int.
Diffstat (limited to 'src/dired.c')
-rw-r--r-- | src/dired.c | 2 |
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)) { |