Fixed three instances of undefined behavior.

This commit is contained in:
OBattler
2022-02-20 20:30:20 +01:00
parent 3b5be8b619
commit f19aaa14ae
3 changed files with 4 additions and 4 deletions

View File

@@ -9,7 +9,7 @@
All registers must have been written back or discarded.
This should be used when calling external functions that may change any emulated
registers.*/
#define UOP_TYPE_BARRIER (1 << 31)
#define UOP_TYPE_BARRIER (1u << 31)
/*uOP is a barrier. All previous uOPs must have completed before this one executes.
All registers must have been written back, but do not have to be discarded.