hv: coding style: remove basic type declaration use

Typedefs that indicate size and signedness should be used in place of
the basic numerical types

Tracked-On: #861
Signed-off-by: Li, Fei1 <fei1.li@intel.com>
This commit is contained in:
Li, Fei1
2019-01-08 22:51:23 +08:00
committed by wenlingz
parent e966828cd2
commit 087fbfe136
2 changed files with 4 additions and 4 deletions

View File

@@ -477,10 +477,10 @@ void do_print(const char *fmt_arg, struct print_param *param,
if ((param->vars.flags &
PRINT_FLAG_LONG_LONG) != 0U) {
print_decimal(param,
__builtin_va_arg(args, long));
__builtin_va_arg(args, int64_t));
} else {
print_decimal(param,
__builtin_va_arg(args, int));
__builtin_va_arg(args, int32_t));
}
}
/* unsigned decimal number */
@@ -526,7 +526,7 @@ void do_print(const char *fmt_arg, struct print_param *param,
else if (ch == 'c') {
char c[2];
c[0] = __builtin_va_arg(args, int);
c[0] = __builtin_va_arg(args, int32_t);
c[1] = 0;
print_string(param, c);
}