mirror of
https://github.com/ctm/executor.git
synced 2026-04-20 00:17:31 +00:00
Sanity check various type (mostly structs) sizes.
This commit is contained in:
+2
-4
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user