Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Nov 9, 2023
1 parent 34bdc8f commit a66c33e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trurl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,7 @@ static struct string *memdupdec(char *source, size_t len, bool json)
int left_len = 0;
char *str;

left = strurldecode(source, (int)(sep ? (sep - source) : len),
left = strurldecode(source, (int)(sep ? (size_t)(sep - source) : len),
&left_len);
if(sep) {
char *p;
Expand Down

0 comments on commit a66c33e

Please sign in to comment.