From 92de12317383f25c0f93ae683530cce5024a0ffc Mon Sep 17 00:00:00 2001 From: epoch Date: Tue, 21 Jan 2020 10:30:36 -0600 Subject: fixed some signedness warnings and inconsistencies --- uri.h | 4 ++-- uriescape.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/uri.h b/uri.h index ab6fab8..966e6ca 100644 --- a/uri.h +++ b/uri.h @@ -28,7 +28,7 @@ char *uri_reserved={ pe_HPUT }; -int uriescapelength(char *in,int len) { +int uriescapelength(unsigned char *in,int len) { int rlen=0;//be sure to add one to this return value if you plan on putting a null byte at the end. int i; for(i=0;i