From c0999ae5ba6800e06c35bb23a9613dd878147618 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 26 Nov 2019 20:16:13 -0800 Subject: GLK: AGT: Startup fixes --- engines/glk/agt/agxfile.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/glk/agt/agxfile.cpp') diff --git a/engines/glk/agt/agxfile.cpp b/engines/glk/agt/agxfile.cpp index 04729f5959..cd544bb2e5 100644 --- a/engines/glk/agt/agxfile.cpp +++ b/engines/glk/agt/agxfile.cpp @@ -751,9 +751,9 @@ static file_info fi_index[] = { byte Extension 0 */ -typedef struct { - unsigned long fileid; - unsigned long res1; /* Reserved for future use */ +struct file_head_rec { + uint32 fileid; + uint32 res1; /* Reserved for future use */ uchar res2; uchar eol_chk1; /* Catch non-binary upload errors */ uchar eol_chk2; @@ -763,7 +763,7 @@ typedef struct { uchar extnum; uchar fallback_ext; /* For non-'R' extensions, this is the 'R' extension to fall back to. */ -} file_head_rec; +}; static file_info fi_header[] = { {FT_UINT32, DT_LONG, NULL, offsetof(file_head_rec, fileid)}, /* File ID */ -- cgit v1.2.3