Skip to content

Commit 86f2793

Browse files
committed
Minor fixes in zigns
1 parent 0427524 commit 86f2793

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libr/anal/sign.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,7 @@ R_API bool r_sign_match_offset(RAnal *a, RAnalFunction *fcn, RSignOffsetMatchCal
940940
struct ctxFcnMatchCB ctx = { a, fcn, cb, user };
941941

942942
if (!a || !fcn || !cb) {
943-
return 0;
943+
return false;
944944
}
945945

946946
return r_sign_foreach (a, offsetMatchCB, &ctx);
@@ -985,7 +985,7 @@ R_API bool r_sign_match_refs(RAnal *a, RAnalFunction *fcn, RSignRefsMatchCallbac
985985
struct ctxFcnMatchCB ctx = { a, fcn, cb, user };
986986

987987
if (!a || !fcn || !cb) {
988-
return 0;
988+
return false;
989989
}
990990

991991
return r_sign_foreach (a, refsMatchCB, &ctx);

0 commit comments

Comments
 (0)