diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2008-04-13 18:17:02 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2008-04-13 18:17:02 -0400 |
commit | 117fc21837f45bbc1f7cb6274bb5458ce93f090f (patch) | |
tree | 9276be3d0aa02115bdf9f0a0fae44b0ee2588a24 /src/floppy.c | |
parent | e6eb3f50227612725a61bc8ad832e5a66cc25814 (diff) | |
download | seabios-117fc21837f45bbc1f7cb6274bb5458ce93f090f.tar.gz |
Compile fixes for gcc 4.3.
Clean up some warnings.
Make sure floppy_dbt structure is aliagned to 1 byte boundary.
Diffstat (limited to 'src/floppy.c')
-rw-r--r-- | src/floppy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/floppy.c b/src/floppy.c index fc5e43fc..bb8cd279 100644 --- a/src/floppy.c +++ b/src/floppy.c @@ -669,7 +669,7 @@ floppy_1308(struct bregs *regs, u8 drive) /* set es & di to point to 11 byte diskette param table in ROM */ regs->es = SEG_BIOS; - regs->di = (u16)&diskette_param_table2; + regs->di = (u32)&diskette_param_table2; /* disk status not changed upon success */ } |