diff options
author | Michael Brown | 2007-12-06 21:16:46 +0100 |
---|---|---|
committer | Michael Brown | 2007-12-06 21:16:46 +0100 |
commit | 1949641d102b0fdc8d4314abaee9ba055481fcc0 (patch) | |
tree | 0c302355c988e9b1d2c942bb1cc6d6170a933944 /src/arch/i386/transitions/librm.S | |
parent | Kill off some warnings-problematic debug statements in ndp.c; the code (diff) | |
download | ipxe-1949641d102b0fdc8d4314abaee9ba055481fcc0.tar.gz ipxe-1949641d102b0fdc8d4314abaee9ba055481fcc0.tar.xz ipxe-1949641d102b0fdc8d4314abaee9ba055481fcc0.zip |
Fix compiler warnings that appear only on OpenBSD.
Diffstat (limited to 'src/arch/i386/transitions/librm.S')
-rw-r--r-- | src/arch/i386/transitions/librm.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/i386/transitions/librm.S b/src/arch/i386/transitions/librm.S index fbf3b2ac..b1f9dd59 100644 --- a/src/arch/i386/transitions/librm.S +++ b/src/arch/i386/transitions/librm.S @@ -192,7 +192,7 @@ real_to_prot: movzwl %sp, %edx movl %ebp, %eax shll $4, %eax - leal (%eax,%edx), %esi + addr32 leal (%eax,%edx), %esi subl _virt_offset, %esi /* Switch to protected mode */ |