aboutsummaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/eval.c b/eval.c
index d8162916ba..622bbeff65 100644
--- a/eval.c
+++ b/eval.c
@@ -9752,7 +9752,7 @@ static VALUE
rb_thread_raise(argc, argv, th)
int argc;
VALUE *argv;
- rb_thread_t th;
+ volatile rb_thread_t th;
{
if (rb_thread_dead(th)) return Qnil;
if (curr_thread == th) {
@@ -9924,7 +9924,7 @@ rb_callcc(self)
VALUE self;
{
volatile VALUE cont;
- rb_thread_t th;
+ volatile rb_thread_t th;
struct tag *tag;
struct RVarmap *vars;