notaz.gp2x.de
/
fceu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
random warning fixes
[fceu.git]
/
memory.c
diff --git
a/memory.c
b/memory.c
index
de10c11
..
0194a83
100644
(file)
--- a/
memory.c
+++ b/
memory.c
@@
-63,12
+63,12
@@
void FCEU_gfree(void *ptr)
void FASTAPASS(3) FCEU_memmove(void *d, void *s, uint32 l)
{
uint32 x;
void FASTAPASS(3) FCEU_memmove(void *d, void *s, uint32 l)
{
uint32 x;
-
int
t;
+
long
t;
/* Type really doesn't matter. */
/* Type really doesn't matter. */
- t=(
int
)d;
- t|=(
int
)s;
- t|=(
int
)l;
+ t=(
long
)d;
+ t|=(
long
)s;
+ t|=(
long
)l;
if(t&3) // Not 4-byte aligned and/or length is not a multiple of 4.
{
if(t&3) // Not 4-byte aligned and/or length is not a multiple of 4.
{