Eolian: Support of unsigned short as int in va_arg

This commit is contained in:
Yossi Kantor 2014-03-10 13:35:11 +02:00 committed by Daniel Zaoui
parent 44f9da675c
commit b070981f8f
1 changed files with 3 additions and 1 deletions

View File

@ -331,8 +331,10 @@ _varg_upgr(const char *stype)
{
if (!strcmp(stype, "Eina_Bool") ||
!strcmp(stype, "char") ||
!strcmp(stype, "short"))
!strcmp(stype, "short") ||
!strcmp(stype, "unsigned short"))
return "int";
return stype;
}