diff options
author | epoch <epoch@hacking.allowed.org> | 2020-01-21 10:30:36 -0600 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2020-01-21 10:30:36 -0600 |
commit | 92de12317383f25c0f93ae683530cce5024a0ffc (patch) | |
tree | 4ec90742e59356c48ba2ccf329e7d87f15207fa2 /uriescape.c | |
parent | 1d0c58a40cdad6f9f00ddab28a8a87e59b101fa7 (diff) | |
download | uritools-92de12317383f25c0f93ae683530cce5024a0ffc.tar.gz uritools-92de12317383f25c0f93ae683530cce5024a0ffc.zip |
fixed some signedness warnings and inconsistencies
Diffstat (limited to 'uriescape.c')
-rw-r--r-- | uriescape.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/uriescape.c b/uriescape.c index da3da7e..ccf90cb 100644 --- a/uriescape.c +++ b/uriescape.c @@ -3,11 +3,11 @@ int main(int argc,char *argv[]) { int len; - char *out; + unsigned char *out; if(argc < 2) return 1; - len=uriescapelength(argv[1],strlen(argv[1])); + len=uriescapelength((unsigned char *)argv[1],strlen(argv[1])); out=malloc(len+1); - uriescape(argv[1],out,len); + uriescape((unsigned char *)argv[1],out,len); out[len]=0; printf("%s\n",out); return 0; |