diff libmpdemux/network.c @ 16750:0a31740dd5e6

Use PRI?64 defines as format strings for 64 bit variables.
author reimar
date Thu, 13 Oct 2005 18:33:56 +0000
parents 0d860b6d64e6
children 6ff3379a0862
line wrap: on
line diff
--- a/libmpdemux/network.c	Thu Oct 13 13:24:35 2005 +0000
+++ b/libmpdemux/network.c	Thu Oct 13 18:33:56 2005 +0000
@@ -408,11 +408,7 @@
 
 	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);
 	}