forked from aniani/vim
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
@@ -237,7 +237,7 @@ blob2string(blob_T *blob, char_u **tofree, char_u *numbuf)
|
||||
{
|
||||
if (i > 0 && (i & 3) == 0)
|
||||
ga_concat(&ga, (char_u *)".");
|
||||
vim_snprintf((char *)numbuf, NUMBUFLEN, "%02X", (int)blob_get(blob, i));
|
||||
vim_snprintf((char *)numbuf, NUMBUFLEN, "%02X", blob_get(blob, i));
|
||||
ga_concat(&ga, numbuf);
|
||||
}
|
||||
ga_append(&ga, NUL); // append a NUL at the end
|
||||
|
Reference in New Issue
Block a user