# HG changeset patch # User reimar # Date 1201985938 0 # Node ID dea83239a88d1b49201e5478cfded5b0690493a2 # Parent bc1504ae7a43b07da894358c002f8ebee64de9fa Missing 'const' in cast. diff -r bc1504ae7a43 -r dea83239a88d http.c --- a/http.c Sat Feb 02 14:55:57 2008 +0000 +++ b/http.c Sat Feb 02 20:58:58 2008 +0000 @@ -219,7 +219,7 @@ /* send http header */ post = h->flags & URL_WRONLY; auth_b64 = av_malloc(auth_b64_len); - av_base64_encode(auth_b64, auth_b64_len, (uint8_t *)auth, strlen(auth)); + av_base64_encode(auth_b64, auth_b64_len, (const uint8_t *)auth, strlen(auth)); snprintf(s->buffer, sizeof(s->buffer), "%s %s HTTP/1.1\r\n" "User-Agent: %s\r\n"