portability: use portable format specifier

This commit is contained in:
Justin M. Keyes
2016-01-10 01:10:38 -05:00
parent 9bf694ff0b
commit c6e481cba5
2 changed files with 3 additions and 3 deletions

View File

@@ -7999,7 +7999,7 @@ static void prepare_assert_error(garray_T *gap)
}
}
if (sourcing_lnum > 0) {
vim_snprintf(buf, ARRAY_SIZE(buf), "line %ld", (long)sourcing_lnum);
vim_snprintf(buf, ARRAY_SIZE(buf), "line %" PRId64, (long)sourcing_lnum);
ga_concat(gap, (char_u *)buf);
}
if (sourcing_name != NULL || sourcing_lnum > 0) {