Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tomas Krizek
Knot Resolver
Commits
f9af4f3d
Commit
f9af4f3d
authored
Jul 14, 2016
by
Karel Slaný
Committed by
Ondřej Surý
Aug 11, 2016
Browse files
Fixed comparison of signed and unsigned type.
parent
d4edebc4
Changes
1
Show whitespace changes
Inline
Side-by-side
modules/cookies/cookiectl.c
View file @
f9af4f3d
...
...
@@ -182,7 +182,7 @@ static struct kr_cookie_secret *new_sq_from_hexstr(const JsonNode *node)
const
char
*
hexstr
=
node
->
string_
;
uint8_t
*
data
=
sq
->
data
;
for
(
in
t
i
=
0
;
i
<
len
;
i
+=
2
)
{
for
(
size_
t
i
=
0
;
i
<
len
;
i
+=
2
)
{
int
num
=
hexbyte2int
(
hexstr
+
i
);
if
(
num
==
-
1
)
{
free
(
sq
);
...
...
Write
Preview
Supports
Markdown
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