mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Fix type cast error for 64bit compilation
RSP_LoadMatrixX86.cpp:92:28: error: cast from 'u8* {aka unsigned char*}' to 'int' loses precision [-fpermissive]
This commit is contained in:
parent
4f58d66e96
commit
4c8a40c6d8
|
@ -1,3 +1,4 @@
|
|||
#include <stdint.h>
|
||||
#include "RSP.h"
|
||||
#include "GBI.h"
|
||||
|
||||
|
@ -89,7 +90,7 @@ LoadLoop:
|
|||
" loop LoadLoop" "\n\t"
|
||||
".att_syntax prefix" "\n\t"
|
||||
: /* no output */
|
||||
: "f"(recip), "S"((int)RDRAM+address), "D"(mtx), "c"(4)
|
||||
: "f"(recip), "S"((intptr_t)RDRAM+address), "D"(mtx), "c"(4)
|
||||
: "memory" );
|
||||
#endif // WIN32_ASM
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user