patch 8.2.4241: some type casts are redundant
Problem: Some type casts are redundant.
Solution: Remove the type casts. (closes #9643)
diff --git a/src/blob.c b/src/blob.c
index b5b4428..afc2de6 100644
--- a/src/blob.c
+++ b/src/blob.c
@@ -237,7 +237,7 @@
{
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