Skip to content

Commit

Permalink
GLK: ADRIFT: Avoid internal compiler error on RISC OS with -O3
Browse files Browse the repository at this point in the history
  • Loading branch information
ccawley2011 committed Jun 15, 2022
1 parent 4b983e1 commit 7a22e60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/glk/adrift/sctafpar.cpp
Expand Up @@ -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++;
}
Expand Down

0 comments on commit 7a22e60

Please sign in to comment.