[Scummvm-git-logs] scummvm master -> 088f1aeb2e22abd20d107e74268cf0773674da61
bluegr
noreply at scummvm.org
Sun Jun 19 21:25:41 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
088f1aeb2e GLK: ADRIFT: Avoid internal compiler error on RISC OS with -O3
Commit: 088f1aeb2e22abd20d107e74268cf0773674da61
https://github.com/scummvm/scummvm/commit/088f1aeb2e22abd20d107e74268cf0773674da61
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2022-06-20T00:25:38+03:00
Commit Message:
GLK: ADRIFT: Avoid internal compiler error on RISC OS with -O3
Changed paths:
engines/glk/adrift/sctafpar.cpp
diff --git a/engines/glk/adrift/sctafpar.cpp b/engines/glk/adrift/sctafpar.cpp
index 552b9abd866..7aa01502016 100644
--- a/engines/glk/adrift/sctafpar.cpp
+++ b/engines/glk/adrift/sctafpar.cpp
@@ -503,7 +503,7 @@ static void parse_push_key(sc_vartype_t vt_key, sc_char type) {
sc_fatal("parse_push_key: stack overrun\n");
/* Push the key, and its associated type. */
- parse_vt_key[parse_depth] = vt_key;
+ memcpy(parse_vt_key + parse_depth, &vt_key, sizeof(vt_key));
parse_format[parse_depth] = type;
parse_depth++;
}
More information about the Scummvm-git-logs
mailing list