Skip to content

Commit

Permalink
squashme: fix compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jay committed Jan 29, 2021
1 parent dd887a0 commit 8689080
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tool_writeout.c
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ static int writeLong(FILE *stream, const struct writeoutvar *wovar,
valid = true;
break;
case VAR_URLNUM:
if(per->urlnum <= LONG_MAX) {
if((unsigned long)per->urlnum <= LONG_MAX) {
longinfo = (long)per->urlnum;
valid = true;
}
Expand Down

0 comments on commit 8689080

Please sign in to comment.