Fix compiler warnings.

This commit is contained in:
Mike Pall
2016-03-28 22:19:45 +02:00
parent df7bb5bb72
commit e03e5979c4
2 changed files with 3 additions and 3 deletions

View File

@@ -250,11 +250,11 @@
|// Macros to clear or set tags.
|.macro cleartp, reg; shl reg, 17; shr reg, 17; .endmacro
|.macro settp, reg, tp
| mov64 ITYPE, ((int64_t)tp<<47)
| mov64 ITYPE, ((uint64_t)tp<<47)
| or reg, ITYPE
|.endmacro
|.macro settp, dst, reg, tp
| mov64 dst, ((int64_t)tp<<47)
| mov64 dst, ((uint64_t)tp<<47)
| or dst, reg
|.endmacro
|.macro setint, reg