Ramiro Polla wrote: > M?ns Rullg?rd wrote: >> ramiro at lisha.ufsc.br writes: >> >> >>> Hello, >>> >>> Attached patch uses the portable PRIu64 argument for snprintf in http.c >>> >>> Ramiro Polla >>> >>> Index: libavformat/http.c >>> =================================================================== >>> --- libavformat/http.c (revision 7692) >>> +++ libavformat/http.c (working copy) >>> @@ -222,7 +222,7 @@ >>> "%s %s HTTP/1.1\r\n" >>> "User-Agent: %s\r\n" >>> "Accept: */*\r\n" >>> - "Range: bytes=%llu-\r\n" >>> + "Range: bytes=%"PRIu64"-\r\n" >>> "Host: %s\r\n" >>> "Authorization: Basic %s\r\n" >>> "\r\n", >>> >> >> The argument is signed... >> >> > > I thought about using PRId64, but I used the unsigned argument since > the code used %llu. Anyways, here's a patch with PRId64... -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: http.c.diff URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070124/d66651ff/attachment.asc>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4