From 420fabcd4ffeaf79082a6e43db91e1d363f88f27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=3D=3FUTF-8=3Fq=3FDundar=3D20G=3DC3=3DB6c=3F=3D?= Date: Fri, 28 Jan 2022 15:28:04 +0000 Subject: patch 8.2.4241: some type casts are redundant Problem: Some type casts are redundant. Solution: Remove the type casts. (closes #9643) --- src/blob.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/blob.c') diff --git a/src/blob.c b/src/blob.c index b5b4428a81..afc2de6364 100644 --- a/src/blob.c +++ b/src/blob.c @@ -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 -- cgit v1.2.3