fix(runtime): clang-tidy redundant cast warnings
This patch fixes warnings of redundant casts to the same type from the
clang-tidy google-readability-casting check.
Signed-off-by: Chuyue Luo <Chuyue.Luo@arm.com>
Change-Id: I8fbd15d00413e1dcb38c4d2c43f6d3c13359716d
diff --git a/runtime/rsi/logger.c b/runtime/rsi/logger.c
index 031803c..3300a06 100644
--- a/runtime/rsi/logger.c
+++ b/runtime/rsi/logger.c
@@ -100,7 +100,7 @@
assert((cnt > 0) && ((unsigned int)cnt < (MAX_NAME_LEN + 1U)));
- (void)memset((void *)((uintptr_t)buf + (unsigned int)cnt), (int)' ',
+ (void)memset((void *)((uintptr_t)buf + (unsigned int)cnt), ' ',
MAX_NAME_LEN - (size_t)cnt);
buf = (char *)((uintptr_t)buf + MAX_NAME_LEN);