diff options
Diffstat (limited to 'emulators/vba/files/patch-src-prof_prof.cpp')
-rw-r--r-- | emulators/vba/files/patch-src-prof_prof.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/emulators/vba/files/patch-src-prof_prof.cpp b/emulators/vba/files/patch-src-prof_prof.cpp new file mode 100644 index 000000000000..a0908d79cec6 --- /dev/null +++ b/emulators/vba/files/patch-src-prof_prof.cpp @@ -0,0 +1,20 @@ +--- src/prof/prof.cpp.orig 2007-10-04 01:07:54.000000000 +0200 ++++ src/prof/prof.cpp 2007-10-04 01:08:31.000000000 +0200 +@@ -279,7 +279,7 @@ + + void profCount() + { +- register char *selfpc; ++ register u32 selfpc; + register unsigned short *frompcindex; + register struct tostruct *top; + register struct tostruct *prevtop; +@@ -292,7 +292,7 @@ + + /* selfpc = pc pushed by mcount call. + This identifies the function that was just entered. */ +- selfpc = (char *) reg[14].I; ++ selfpc = (u32) reg[14].I; + /* frompcindex = pc in preceding frame. + This identifies the caller of the function just entered. */ + frompcindex = (unsigned short *) reg[12].I; |