diff options
author | dreammaster | 2019-05-22 05:48:52 +0100 |
---|---|---|
committer | Paul Gilbert | 2019-05-24 18:21:07 -0700 |
commit | aa5fd603b6fd623c138fd3529176847b5b538e49 (patch) | |
tree | 1c9003a4ef67b73ae89c5fba0e6024969e710f03 /engines/glk/tads/tads2/line_source_file.cpp | |
parent | 0c02346b48e068dddff81bf4fde57040135deb51 (diff) | |
download | scummvm-rg350-aa5fd603b6fd623c138fd3529176847b5b538e49.tar.gz scummvm-rg350-aa5fd603b6fd623c138fd3529176847b5b538e49.tar.bz2 scummvm-rg350-aa5fd603b6fd623c138fd3529176847b5b538e49.zip |
GLK: TADS2: Compilation fixes
Diffstat (limited to 'engines/glk/tads/tads2/line_source_file.cpp')
-rw-r--r-- | engines/glk/tads/tads2/line_source_file.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/glk/tads/tads2/line_source_file.cpp b/engines/glk/tads/tads2/line_source_file.cpp index b5da3d1a3c..430b1d9767 100644 --- a/engines/glk/tads/tads2/line_source_file.cpp +++ b/engines/glk/tads/tads2/line_source_file.cpp @@ -403,7 +403,8 @@ void linfglop2(lindef *lin, uchar *buf) /* save line source information to binary (.gam) file; TRUE ==> error */ int linfwrt(lindef *lin, osfildef *fp) { -# define linf ((linfdef *)lin) +#define linf ((linfdef *)lin) +#define UCHAR_MAX 255 uchar buf[UCHAR_MAX + 6]; size_t len; uint pgcnt; |