diff options
Diffstat (limited to 'libmpdemux/network.c')
-rw-r--r-- | libmpdemux/network.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libmpdemux/network.c b/libmpdemux/network.c index ac3ae06fe7..12982ca1d2 100644 --- a/libmpdemux/network.c +++ b/libmpdemux/network.c @@ -408,11 +408,7 @@ http_send_request( URL_t *url, off_t pos ) { if(pos>0) { // Extend http_send_request with possibility to do partial content retrieval -#ifdef __MINGW32__ - snprintf(str, 256, "Range: bytes=%I64d-", (int64_t)pos); -#else - snprintf(str, 256, "Range: bytes=%lld-", (long long)pos); -#endif + snprintf(str, 256, "Range: bytes=%"PRId64"-", (int64_t)pos); http_set_field(http_hdr, str); } |