From 8da9e6d5499486ae5500f01fd6c59aae4649965a Mon Sep 17 00:00:00 2001 From: ko1 Date: Thu, 29 Oct 2015 21:45:07 +0000 Subject: [PATCH] use NULL instead of 0 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm.c b/vm.c index 7c4d6fe2c1..22ade689fc 100644 --- a/vm.c +++ b/vm.c @@ -1142,7 +1142,7 @@ rb_vm_cref(void) rb_thread_t *th = GET_THREAD(); rb_control_frame_t *cfp = rb_vm_get_ruby_level_next_cfp(th, th->cfp); - if (cfp == 0) { + if (cfp == NULL) { return NULL; }