summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 8040e8b585..e2540cae1b 100644
--- a/eval.c
+++ b/eval.c
@@ -125,7 +125,7 @@ ruby_finalize(void)
void rb_thread_stop_timer_thread(void);
int
-ruby_cleanup(int ex)
+ruby_cleanup(volatile int ex)
{
int state;
volatile VALUE errs[2];