summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ls.c b/src/ls.c
index ed9bf8f13..ba23ccf86 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -515,7 +515,7 @@ dired_dump_obstack (prefix, os)
n_pos = obstack_object_size (os) / sizeof (size_t);
pos = obstack_finish (os);
for (i = 0; i < n_pos; i++)
- printf (" %d", pos[i]);
+ printf (" %d", (int) pos[i]);
fputs ("\n", stdout);
}