diff options
Diffstat (limited to 'editors/diff.c')
-rw-r--r-- | editors/diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/diff.c b/editors/diff.c index 64ad6511d..0e96c8496 100644 --- a/editors/diff.c +++ b/editors/diff.c | |||
@@ -1189,7 +1189,7 @@ static char **get_recursive_dirlist(char *path) | |||
1189 | recursive_action(path, ACTION_RECURSE|ACTION_FOLLOWLINKS, | 1189 | recursive_action(path, ACTION_RECURSE|ACTION_FOLLOWLINKS, |
1190 | add_to_dirlist, /* file_action */ | 1190 | add_to_dirlist, /* file_action */ |
1191 | NULL, /* dir_action */ | 1191 | NULL, /* dir_action */ |
1192 | (void*)(strlen(path) + 1), | 1192 | (void*)(ptrdiff_t)(strlen(path) + 1), |
1193 | 0); | 1193 | 0); |
1194 | } else { | 1194 | } else { |
1195 | DIR *dp; | 1195 | DIR *dp; |