diff options
Diffstat (limited to 'src/nvim/cmdhist.c')
-rw-r--r-- | src/nvim/cmdhist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/cmdhist.c b/src/nvim/cmdhist.c index c2928eb9c4..81b93e5304 100644 --- a/src/nvim/cmdhist.c +++ b/src/nvim/cmdhist.c @@ -622,7 +622,7 @@ void ex_history(exarg_T *eap) } histype1 = get_histtype(arg, (size_t)(end - arg), false); if (histype1 == HIST_INVALID) { - if (STRNICMP(arg, "all", end - (char *)arg) == 0) { + if (STRNICMP(arg, "all", end - arg) == 0) { histype1 = 0; histype2 = HIST_COUNT - 1; } else { |