memdisk: Force 32-bit mBFT "safe hook" pointer field
authorShao Miller <shao.miller@yrdsb.edu.on.ca>
Tue, 9 Mar 2010 23:24:41 +0000 (18:24 -0500)
committerShao Miller <shao.miller@yrdsb.edu.on.ca>
Fri, 11 Jun 2010 01:49:10 +0000 (01:49 +0000)
commit9d52e438f991e1d7667df6a5eead2e240b0164eb
tree0a5f77b9f0f338bf1f444b7b6819a0c88e575293
parent1a23222896a27d62a762042352e2f72472a1605d
memdisk: Force 32-bit mBFT "safe hook" pointer field

When mstructs.h is used by MDISKCHK.COM, pointers have
a 16-bit size and thus the mBFT structure sizeof() is
smaller under OpenWatcom.  We now union this pointer
member with a uint32_t to force the field to at least
32 bits.

There is another pointer in this header file which is
already unioned with a uint32_t, due to that field's
dual-purpose.  That field is fine under OpenWatcom.

Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
memdisk/mstructs.h
memdisk/setup.c