summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-29 21:45:07 (GMT)
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-29 21:45:07 (GMT)
commit8da9e6d5499486ae5500f01fd6c59aae4649965a (patch)
tree43f55e092a842bbe0fb9c8d636f815042efce806 /vm.c
parent648aa500d60f48640e789ac6b478ad4e2cc54bb4 (diff)
use NULL instead of 0
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm.c b/vm.c
index 7c4d6fe..22ade68 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;
}