portability: fix cast.

PRId64 format expects int64_t.
Regression from c6e481cba5.
This commit is contained in:
Justin M. Keyes
2016-01-10 13:47:26 -05:00
parent 73b8c89518
commit a641b74140

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 %" PRId64, (long)sourcing_lnum);
vim_snprintf(buf, ARRAY_SIZE(buf), "line %" PRId64, (int64_t)sourcing_lnum);
ga_concat(gap, (char_u *)buf);
}
if (sourcing_name != NULL || sourcing_lnum > 0) {