From d0aab7b1fc7c94c3d6d41990e7615be85b58e640 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 2 Jan 2013 14:35:35 +0100 Subject: change uh_b64decode to take a void pointer to avoid redundant signed/unsigned casts --- utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils.h') diff --git a/utils.h b/utils.h index 0853943..8f67823 100644 --- a/utils.h +++ b/utils.h @@ -54,7 +54,7 @@ static inline void clearenv(void) int uh_urldecode(char *buf, int blen, const char *src, int slen); int uh_urlencode(char *buf, int blen, const char *src, int slen); -int uh_b64decode(char *buf, int blen, const unsigned char *src, int slen); +int uh_b64decode(char *buf, int blen, const void *src, int slen); bool uh_path_match(const char *prefix, const char *url); char *uh_split_header(char *str); -- cgit v1.2.3