aboutsummaryrefslogtreecommitdiffstats
path: root/signal.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-15 10:51:07 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-15 10:51:07 +0000
commit6189f2263de9a1be233f6ec75fabb10a6c10c5e0 (patch)
tree4a4adf377aa883830072d506546c1a50b8c4b452 /signal.c
parent0c91f10955fe137e9a474df74019941f86f3f827 (diff)
downloadruby-6189f2263de9a1be233f6ec75fabb10a6c10c5e0.tar.gz
signal.c: follow up r63435
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'signal.c')
-rw-r--r--signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/signal.c b/signal.c
index 5803f8f0b9..c781c38c62 100644
--- a/signal.c
+++ b/signal.c
@@ -1012,7 +1012,7 @@ static void
signal_exec(VALUE cmd, int safe, int sig)
{
rb_execution_context_t *ec = GET_EC();
- volatile unsigned long old_interrupt_mask = ec->interrupt_mask;
+ volatile rb_atomic_t old_interrupt_mask = ec->interrupt_mask;
enum ruby_tag_type state;
/*