mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-12 14:20:04 +00:00
Add toUInt.
git-svn-id: svn://svn.valgrind.org/vex/trunk@973
This commit is contained in:
@@ -90,6 +90,10 @@ static inline UShort toUShort ( Int x ) {
|
||||
x &= 0xFFFF;
|
||||
return (UShort)x;
|
||||
}
|
||||
static inline UInt toUInt ( Long x ) {
|
||||
x &= 0xFFFFFFFFLL;
|
||||
return (UInt)x;
|
||||
}
|
||||
|
||||
/* 32/64 bit addresses. */
|
||||
typedef UInt Addr32;
|
||||
|
||||
Reference in New Issue
Block a user