Skip to content

Commit

Permalink
FIX: resolved implicit conversion warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed Jul 3, 2022
1 parent 32dd199 commit 8c92c8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/f-series.c
Original file line number Diff line number Diff line change
Expand Up @@ -306,13 +306,13 @@
return !CT_Object(s, t, 1); // equality used

case REB_NATIVE:
return &VAL_FUNC_CODE(s) - &VAL_FUNC_CODE(t);
return THE_SIGN(&VAL_FUNC_CODE(s) - &VAL_FUNC_CODE(t));

case REB_ACTION:
case REB_COMMAND:
case REB_OP:
case REB_FUNCTION:
return VAL_FUNC_BODY(s) - VAL_FUNC_BODY(t);
return THE_SIGN(VAL_FUNC_BODY(s) - VAL_FUNC_BODY(t));

case REB_STRUCT:
return Cmp_Struct(s, t);
Expand Down

0 comments on commit 8c92c8c

Please sign in to comment.