🔧 修复了一些隐式类型转换

This commit is contained in:
fslongjin
2022-01-28 13:44:48 +08:00
parent 61f425061c
commit 012948d345
3 changed files with 4 additions and 5 deletions

View File

@ -346,7 +346,7 @@ static int vsprintf(char *buf, const char *fmt, va_list args)
if (qualifier == 'l')
ip = va_arg(args, long long *);
else
ip = va_arg(args, int *);
ip = (ll*)va_arg(args, int *);
*ip = str - buf;
break;