aboutsummaryrefslogtreecommitdiffstats
path: root/com32/elflink/ldlinux/chainboot.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/elflink/ldlinux/chainboot.c')
-rw-r--r--com32/elflink/ldlinux/chainboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/elflink/ldlinux/chainboot.c b/com32/elflink/ldlinux/chainboot.c
index 27d4618c..1b9217f5 100644
--- a/com32/elflink/ldlinux/chainboot.c
+++ b/com32/elflink/ldlinux/chainboot.c
@@ -61,7 +61,7 @@ void chainboot_file(const char *file, uint32_t type)
reg.eax.l = max;
reg.ebx.l = 0;
reg.edx.w[0] = 0;
- reg.edi.l = (uint32_t)buf;
+ reg.edi.l = (uintptr_t)buf;
reg.ebp.l = -1; /* XXX: limit? */
reg.esi.w[0] = rv;