]> git.sesse.net Git - vlc/blobdiff - modules/access/http.c
HTTP: do not send a negative byte range
[vlc] / modules / access / http.c
index 78762c1ad40ecee6865024f9aa4afbed64a0af0d..2b7768ab6b38b0fe7e76aa26e56b2fd6e99cbadf 100644 (file)
@@ -1141,7 +1141,7 @@ static int Request( access_t *p_access, int64_t i_tell )
     if( p_sys->i_version == 1 )
     {
         net_Printf( VLC_OBJECT(p_access), p_sys->fd, pvs,
-                    "Range: bytes=%"PRId64"-\r\n", i_tell );
+                    "Range: bytes=%"PRIu64"-\r\n", i_tell );
     }
 
     /* Cookies */