Skip to content

Commit

Permalink
Merge pull request #280 from cygx/patch-1
Browse files Browse the repository at this point in the history
Add missing const
  • Loading branch information
lizmat committed Oct 7, 2015
2 parents 08ded20 + bf2f733 commit 1cbbb2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/interp.c
Expand Up @@ -4700,7 +4700,7 @@ void MVM_interp_run(MVMThreadContext *tc, void (*initial_invoke)(MVMThreadContex
MVMObject *obj = GET_REG(cur_op, 2).o;
MVMint64 is_rw = 0;
if (!MVM_is_null(tc, obj)) {
MVMContainerSpec *cs = STABLE(obj)->container_spec;
const MVMContainerSpec *cs = STABLE(obj)->container_spec;
is_rw = cs && cs->can_store(tc, obj);
}
GET_REG(cur_op, 0).i64 = is_rw;
Expand Down

0 comments on commit 1cbbb2b

Please sign in to comment.