hv: use int32_t replace int

Since it's typedef in "include/lib/types.h"

Tracked-On: #861
Signed-off-by: Li, Fei1 <fei1.li@intel.com>
This commit is contained in:
Li, Fei1
2018-12-08 00:30:49 +08:00
committed by wenlingz
parent e8f3a2d42c
commit e3fc6c3c79
91 changed files with 472 additions and 471 deletions

View File

@@ -48,7 +48,7 @@
static inline void memset(void *dstv, char ch, UINTN size)
{
char *dst = dstv;
int i;
int32_t i;
for (i = 0; i < size; i++)
dst[i] = ch;
@@ -56,15 +56,15 @@ static inline void memset(void *dstv, char ch, UINTN size)
static inline void memcpy(char *dst, const char *src, UINTN size)
{
int i;
int32_t i;
for (i = 0; i < size; i++)
*dst++ = *src++;
}
static inline int strlen(const char *str)
static inline int32_t strlen(const char *str)
{
int len;
int32_t len;
len = 0;
while (*str++)