Remove a comparison of unsigned expression < 0
This commit is contained in:
parent
e598853e68
commit
7d37bf79de
1 changed files with 1 additions and 1 deletions
|
@ -1016,7 +1016,7 @@ interpret(struct f_inst *what)
|
||||||
ONEARG;
|
ONEARG;
|
||||||
if (v1.type != T_INT)
|
if (v1.type != T_INT)
|
||||||
runtime( "Can't set preference to non-integer" );
|
runtime( "Can't set preference to non-integer" );
|
||||||
if ((v1.val.i < 0) || (v1.val.i > 0xFFFF))
|
if (v1.val.i > 0xFFFF)
|
||||||
runtime( "Setting preference value out of bounds" );
|
runtime( "Setting preference value out of bounds" );
|
||||||
f_rte_cow();
|
f_rte_cow();
|
||||||
(*f_rte)->pref = v1.val.i;
|
(*f_rte)->pref = v1.val.i;
|
||||||
|
|
Loading…
Reference in a new issue