summaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-01-02 14:35:35 +0100
committerFelix Fietkau <nbd@openwrt.org>2013-01-02 14:35:35 +0100
commitd0aab7b1fc7c94c3d6d41990e7615be85b58e640 (patch)
tree51babde8a8c85ec006b3588d05a4f9f74a37afc6 /utils.h
parentfc2a91f6761a39d735174af3e9523af079ae3f16 (diff)
change uh_b64decode to take a void pointer to avoid redundant signed/unsigned casts
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h2
1 files changed, 1 insertions, 1 deletions
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);