Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
BIRD Internet Routing Daemon
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
labs
BIRD Internet Routing Daemon
Commits
7d37bf79
Commit
7d37bf79
authored
Dec 03, 2014
by
Pavel Tvrdik
Committed by
Ondřej Zajíček
Feb 21, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove a comparison of unsigned expression < 0
parent
e598853e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
filter/filter.c
filter/filter.c
+1
-1
No files found.
filter/filter.c
View file @
7d37bf79
...
...
@@ -1016,7 +1016,7 @@ interpret(struct f_inst *what)
ONEARG
;
if
(
v1
.
type
!=
T_INT
)
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"
);
f_rte_cow
();
(
*
f_rte
)
->
pref
=
v1
.
val
.
i
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment