Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

Commit

Permalink
make %x destination unsigned
Browse files Browse the repository at this point in the history
The %x specifier requires for the argument to be an unsigned int.

Signed-off-by: Heiko Hund <[email protected]>
Acked-by: Frank Lichtenheld <[email protected]>
Message-Id: <[email protected]>
URL: https://www.mail-archive.com/[email protected]/msg24336.html
Signed-off-by: Gert Doering <[email protected]>
  • Loading branch information
d12fk authored and cron2 committed Jun 28, 2022
1 parent 90d9c38 commit 2f70229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openvpn/options.c
Original file line number Diff line number Diff line change
Expand Up @@ -1142,7 +1142,7 @@ parse_hash_fingerprint(const char *str, int nbytes, int msglevel, struct gc_aren
ALLOC_OBJ_CLEAR_GC(ret, struct verify_hash_list, gc);

char term = 0;
int byte;
unsigned int byte;

while (*cp && i < nbytes)
{
Expand Down

0 comments on commit 2f70229

Please sign in to comment.