mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.2.4241: some type casts are redundant
Problem: Some type casts are redundant. Solution: Remove the type casts. (closes #9643)
This commit is contained in:
committed by
Bram Moolenaar
parent
fb80862e49
commit
420fabcd4f
@@ -244,7 +244,7 @@ json_encode_item(garray_T *gap, typval_T *val, int copyID, int options)
|
||||
if (i > 0)
|
||||
ga_concat(gap, (char_u *)",");
|
||||
vim_snprintf((char *)numbuf, NUMBUFLEN, "%d",
|
||||
(int)blob_get(b, i));
|
||||
blob_get(b, i));
|
||||
ga_concat(gap, numbuf);
|
||||
}
|
||||
ga_append(gap, ']');
|
||||
|
Reference in New Issue
Block a user