mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 02:17:36 +08:00
sign type conversion work
This commit is contained in:
@@ -3,9 +3,9 @@
|
||||
#define _UTIL_UNITS_H
|
||||
|
||||
/* useful unit macros for constants */
|
||||
#define _KB_bytes(x) ((x) << 10UL)
|
||||
#define _MB_bytes(x) ((x) << 20UL)
|
||||
#define _GB_bytes(x) ((x) << 30UL)
|
||||
#define _KB_bytes(x) (((Bitu)x) << (Bitu)10UL)
|
||||
#define _MB_bytes(x) (((Bitu)x) << (Bitu)20UL)
|
||||
#define _GB_bytes(x) (((Bitu)x) << (Bitu)30UL)
|
||||
|
||||
#endif /* _UTIL_UNITS_H */
|
||||
|
||||
|
Reference in New Issue
Block a user