summaryrefslogtreecommitdiff
path: root/ext/zlib
diff options
context:
space:
mode:
Diffstat (limited to 'ext/zlib')
-rw-r--r--ext/zlib/zlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c
index 9aa7697697..6b6299c0d0 100644
--- a/ext/zlib/zlib.c
+++ b/ext/zlib/zlib.c
@@ -1086,7 +1086,7 @@ loop:
if (z->stream.avail_in > 0) {
zstream_append_input(z, z->stream.next_in, z->stream.avail_in);
- guard = Qnil; /* prevent tail call to make guard effective */
+ RB_GC_GUARD(guard) = Qnil; /* prevent tail call to make guard effective */
}
if (args.jump_state)