From 47e33fc29dae6cde758c241284cd2d7f9be33027 Mon Sep 17 00:00:00 2001 From: buzhenwang Date: Sun, 5 May 2024 17:57:28 +0800 Subject: [PATCH] clean code Signed-off-by: buzhenwang --- frameworks/featured/hiview_log.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frameworks/featured/hiview_log.c b/frameworks/featured/hiview_log.c index 41d191c..1a93dc0 100644 --- a/frameworks/featured/hiview_log.c +++ b/frameworks/featured/hiview_log.c @@ -1199,7 +1199,8 @@ int HiLogSecOutputS(SecPrintfStream *stream, bool isDebugMode, const char *cform /* the value to be converted is greater than 4G */ #if defined(SECUREC_VXWORKS_VERSION_5_4) do { - if (0 != SecU64Div32((SecUnsignedInt32)((number >> 16) >> 16), /* 16, High 32 bit mask */ + /* 16, High 32 bit mask */ + if (0 != SecU64Div32((SecUnsignedInt32)((number >> 16) >> 16), (SecUnsignedInt32)number, (SecUnsignedInt32)radix, "ientHigh, "ientLow, &digit)) { noOutput = 1; -- Gitee