Sanity check various type (mostly structs) sizes.

This commit is contained in:
Clifford T. Matthews
2009-06-16 14:55:37 -06:00
parent aeff3f030c
commit 4a8d6bf416
103 changed files with 1224 additions and 1302 deletions
+2 -4
View File
@@ -28,6 +28,7 @@ char ROMlib_rcsid_serial[] =
#include "rsys/file.h"
#include "rsys/hfs.h"
#include "rsys/serial.h"
#if defined (MSDOS)
#include "dosserial.h"
@@ -125,10 +126,7 @@ A2(PUBLIC, OSErr, SerReset, INTEGER, rn, INTEGER, config) /* IMII-250 */
A3(PUBLIC, OSErr, SerSetBuf, INTEGER, rn, Ptr, p, INTEGER, len) /* IMII-251 */
{
struct {
Ptr p;
INTEGER i;
} temp;
sersetbuf_t temp;
temp.p = RM (p);
temp.i = CW (len);