comparison http.c @ 2999:dea83239a88d libavformat

Missing 'const' in cast.
author reimar
date Sat, 02 Feb 2008 20:58:58 +0000
parents 94a0369ed3f5
children 78d61e1a8496
comparison
equal deleted inserted replaced
2998:bc1504ae7a43 2999:dea83239a88d
217 217
218 218
219 /* send http header */ 219 /* send http header */
220 post = h->flags & URL_WRONLY; 220 post = h->flags & URL_WRONLY;
221 auth_b64 = av_malloc(auth_b64_len); 221 auth_b64 = av_malloc(auth_b64_len);
222 av_base64_encode(auth_b64, auth_b64_len, (uint8_t *)auth, strlen(auth)); 222 av_base64_encode(auth_b64, auth_b64_len, (const uint8_t *)auth, strlen(auth));
223 snprintf(s->buffer, sizeof(s->buffer), 223 snprintf(s->buffer, sizeof(s->buffer),
224 "%s %s HTTP/1.1\r\n" 224 "%s %s HTTP/1.1\r\n"
225 "User-Agent: %s\r\n" 225 "User-Agent: %s\r\n"
226 "Accept: */*\r\n" 226 "Accept: */*\r\n"
227 "Range: bytes=%"PRId64"-\r\n" 227 "Range: bytes=%"PRId64"-\r\n"