mirror of
https://github.com/digarok/gsplus.git
synced 2024-11-05 18:08:32 +00:00
use uintptr_t to cast ptr to int.
This commit is contained in:
parent
fed51ab444
commit
0e9cf9879b
@ -231,11 +231,9 @@ STRUCT(Emustate_word32list) {
|
||||
word32 *wptr;
|
||||
};
|
||||
|
||||
#ifdef __LP64__
|
||||
# define PTR2WORD(a) ((unsigned long)(a))
|
||||
#else
|
||||
# define PTR2WORD(a) ((unsigned int)(a))
|
||||
#endif
|
||||
|
||||
# define PTR2WORD(a) ((uintptr_t)(a))
|
||||
|
||||
|
||||
|
||||
#define ALTZP (g_c068_statereg & 0x80)
|
||||
|
Loading…
Reference in New Issue
Block a user