changeset 30277:e15646d685c5

100l, forgot to change the "magic" value in the stub also in the place replacing it.
author reimar
date Sat, 16 Jan 2010 15:02:49 +0000
parents a4f0e79d7d14
children e1e31e655bef
files loader/win32.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/loader/win32.c	Sat Jan 16 13:59:59 2010 +0000
+++ b/loader/win32.c	Sat Jan 16 15:02:49 2010 +0000
@@ -5355,7 +5355,7 @@
     memcpy(answ, ext_stubs, MAX_STUB_SIZE);
     for (i = 0; i < MAX_STUB_SIZE - 3; i++) {
       int *magic = (int *)(answ + i);
-      if (*magic == 0xdeadabcd) {
+      if (*magic == 0x0deadabc) {
         *magic = pos;
         found |= 1;
       }