diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2008-09-02 18:36:39 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2008-09-02 18:36:39 +0000 |
commit | 0994d7811f691f0b5c6743ae8d3ce90310cd7cea (patch) | |
tree | dc7441211d24fb7f9484cae4cb1943ae43b46b87 /lib/base64.c | |
parent | 934708d950617688c7d294ea1ab583667f383ab1 (diff) |
Removed some redundant type casts
Diffstat (limited to 'lib/base64.c')
-rw-r--r-- | lib/base64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/base64.c b/lib/base64.c index 6b9331083..da9d01a93 100644 --- a/lib/base64.c +++ b/lib/base64.c @@ -117,7 +117,7 @@ size_t Curl_base64_decode(const char *src, unsigned char **outptr) /* Decode all but the last quantum (which may not decode to a multiple of 3 bytes) */ for(i = 0; i < numQuantums - 1; i++) { - decodeQuantum((unsigned char *)newstr, src); + decodeQuantum(newstr, src); newstr += 3; src += 4; } @@ -153,7 +153,7 @@ size_t Curl_base64_encode(struct SessionHandle *data, char *convbuf = NULL; #endif - char *indata = (char *)inp; + const char *indata = inp; *outptr = NULL; /* set to NULL in case of failure before we reach the end */ |