[rtmpdump] r243 - trunk/hashswf.c
hyc
subversion at mplayerhq.hu
Sat Jan 30 04:59:33 CET 2010
Author: hyc
Date: Sat Jan 30 04:59:32 2010
New Revision: 243
Log:
Silence warning
Modified:
trunk/hashswf.c
Modified: trunk/hashswf.c
==============================================================================
--- trunk/hashswf.c Thu Jan 28 06:36:58 2010 (r242)
+++ trunk/hashswf.c Sat Jan 30 04:59:32 2010 (r243)
@@ -143,7 +143,7 @@ http_get(const char *url, struct info *i
if (sb.sb_socket < 0)
return -1;
i = sprintf(sb.sb_buf, "GET %s HTTP/1.0\r\nUser-Agent: %s\r\nHost: %s\r\nReferrer: %.*s\r\n",
- path, AGENT, host, path-url+1, url);
+ path, AGENT, host, (int)(path-url+1), url);
if (in->date[0])
i += sprintf(sb.sb_buf+i, "If-Modified-Since: %s\r\n", in->date);
i += sprintf(sb.sb_buf+i, "\r\n");
More information about the rtmpdump
mailing list