Skip to content

Commit 81e9c47

Browse files
committed
Fix a NULL-o.
1 parent 5c4d6b2 commit 81e9c47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pmc/nqplexpad.pmc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ Return the LexInfo PMC, if any or a Null PMC.
176176
GET_ATTR_lexinfo_hash(INTERP, SELF, hash);
177177
reg = register_number_for_get(INTERP, hash, name, REGNO_PMC);
178178
if (reg < 0)
179-
return 0;
179+
return PMCNULL;
180180
GET_ATTR_ctx(INTERP, SELF, ctx);
181181
return CTX_REG_PMC(interp, ctx, reg);
182182
}

0 commit comments

Comments
 (0)