We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In file included from memmap.cpp:2665: getset.h: In function ‘uint8 S9xGetByte(uint32)’: getset.h:82:19: error: cast from ‘uint8*’ {aka ‘unsigned char*’} to ‘int’ loses precision [-fpermissive] switch ((int) GetAddress) ^~~~~~~~~~ getset.h: In function ‘uint16 S9xGetWord(uint32)’: getset.h:177:19: error: cast from ‘uint8*’ {aka ‘unsigned char*’} to ‘int’ loses precision [-fpermissive] switch ((int) GetAddress) ^~~~~~~~~~ getset.h: In function ‘void S9xSetByte(uint8, uint32)’: getset.h:288:19: error: cast from ‘uint8*’ {aka ‘unsigned char*’} to ‘int’ loses precision [-fpermissive] switch ((int) SetAddress) ^~~~~~~~~~ getset.h: In function ‘void S9xSetWord(uint16, uint32)’: getset.h:415:19: error: cast from ‘uint8*’ {aka ‘unsigned char*’} to ‘int’ loses precision [-fpermissive] switch ((int) SetAddress) ^~~~~~~~~~ getset.h: In function ‘uint8* GetBasePointer(uint32)’: getset.h:520:19: error: cast from ‘uint8*’ {aka ‘unsigned char*’} to ‘int’ loses precision [-fpermissive] switch ((int) GetAddress) ^~~~~~~~~~ getset.h: In function ‘uint8* S9xGetMemPointer(uint32)’: getset.h:556:19: error: cast from ‘uint8*’ {aka ‘unsigned char*’} to ‘int’ loses precision [-fpermissive] switch ((int) GetAddress) ^~~~~~~~~~ getset.h: In function ‘void S9xSetPCBase(uint32)’: getset.h:607:19: error: cast from ‘uint8*’ {aka ‘unsigned char*’} to ‘int’ loses precision [-fpermissive] switch ((int) GetAddress) ^~~~~~~~~~ make: *** [<builtin>: memmap.o] Error 1
What do you think is proper fix?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What do you think is proper fix?
The text was updated successfully, but these errors were encountered: