diff options
Diffstat (limited to 'src/pkg/runtime/callback_windows_386.c')
-rw-r--r-- | src/pkg/runtime/callback_windows_386.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pkg/runtime/callback_windows_386.c b/src/pkg/runtime/callback_windows_386.c index fcd292fbc..880588da6 100644 --- a/src/pkg/runtime/callback_windows_386.c +++ b/src/pkg/runtime/callback_windows_386.c @@ -4,6 +4,7 @@ #include "runtime.h" #include "type.h" +#include "typekind.h" #include "defs_GOOS_GOARCH.h" #include "os_GOOS.h" @@ -79,7 +80,7 @@ runtime·compilecallback(Eface fn, bool cleanstack) // MOVL fn, AX *p++ = 0xb8; - *(uint32*)p = (uint32)fn.data; + *(uint32*)p = (uint32)(fn.data); p += 4; // MOVL argsize, DX |