mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-06 16:15:00 +00:00
HV:fix rest integer violations
Fix integer related violations. V1->V2: clean all memset/calloc integer violations excpet bsp/boot directory Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -44,7 +44,7 @@ int vprintf(const char *fmt, va_list args)
|
||||
int nchars = 0;
|
||||
|
||||
/* initialize parameters */
|
||||
(void)memset(¶m, 0, sizeof(param));
|
||||
(void)memset(¶m, 0U, sizeof(param));
|
||||
param.emit = charout;
|
||||
param.data = &nchars;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user