changeset 2999:dea83239a88d libavformat

Missing 'const' in cast.
author reimar
date Sat, 02 Feb 2008 20:58:58 +0000
parents bc1504ae7a43
children 6b2d05ded051
files http.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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"