Skip to content

Commit 8c92c8c

Browse files
committed
FIX: resolved implicit conversion warning
1 parent 32dd199 commit 8c92c8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/f-series.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -306,13 +306,13 @@
306306
return !CT_Object(s, t, 1); // equality used
307307

308308
case REB_NATIVE:
309-
return &VAL_FUNC_CODE(s) - &VAL_FUNC_CODE(t);
309+
return THE_SIGN(&VAL_FUNC_CODE(s) - &VAL_FUNC_CODE(t));
310310

311311
case REB_ACTION:
312312
case REB_COMMAND:
313313
case REB_OP:
314314
case REB_FUNCTION:
315-
return VAL_FUNC_BODY(s) - VAL_FUNC_BODY(t);
315+
return THE_SIGN(VAL_FUNC_BODY(s) - VAL_FUNC_BODY(t));
316316

317317
case REB_STRUCT:
318318
return Cmp_Struct(s, t);

0 commit comments

Comments
 (0)