Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
adbb4dfb
...
adbb4dfbeca5dc1c1b6152d1e247901b91d1c942
authored
2001-08-08 03:47:45 +0000
by
Alain Magloire
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
* mailbox/mutil.c (mu_hexstr2ul): Properly cast the expression
before doing the comparison.
1 parent
d865fd96
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
mailbox/mutil.c
mailbox/mutil.c
View file @
adbb4df
...
...
@@ -57,7 +57,7 @@ size_t mu_hexstr2ul(unsigned long* ul, const char* hex, size_t len)
{
unsigned
long
v
=
mu_hex2ul
(
hex
[
r
]);
if
(
v
==
-
1
)
if
(
v
==
(
unsigned
long
)
-
1
)
return
r
;
*
ul
=
*
ul
*
16
+
v
;
...
...
Please
register
or
sign in
to post a comment