aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/agt/agxfile.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2019-11-26 20:16:13 -0800
committerPaul Gilbert2019-11-27 21:10:29 -0800
commitc0999ae5ba6800e06c35bb23a9613dd878147618 (patch)
tree494d3ab73ec8abe076cb547fb50bef33babdcae7 /engines/glk/agt/agxfile.cpp
parent88444ddc889e4faee110b637961824fcb8abc448 (diff)
downloadscummvm-rg350-c0999ae5ba6800e06c35bb23a9613dd878147618.tar.gz
scummvm-rg350-c0999ae5ba6800e06c35bb23a9613dd878147618.tar.bz2
scummvm-rg350-c0999ae5ba6800e06c35bb23a9613dd878147618.zip
GLK: AGT: Startup fixes
Diffstat (limited to 'engines/glk/agt/agxfile.cpp')
-rw-r--r--engines/glk/agt/agxfile.cpp8
1 files changed, 4 insertions, 4 deletions
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 */