fixed a variable not matching the size of underlying registers for QSE_SYSCALL0

This commit is contained in:
2013-01-15 11:51:26 +00:00
parent 8160249b38
commit 444abec9fe
3 changed files with 40 additions and 12 deletions

View File

@ -496,8 +496,8 @@ the user-level applications with the following differences:
#define QSE_SYSCALL0(ret,num) \
__asm__ volatile ( \
"int $0x80\n" \
: "=a"(ret) \
"int $0x80\n" \
: "=a"(ret) \
: "a"((qse_uint32_t)num) \
: "memory" \
)