]> git.sesse.net Git - vlc/blobdiff - modules/access/http.c
NIH syndrome cure (2)
[vlc] / modules / access / http.c
index c129edb46e6883a8358766d0091971ac0c40b94b..9d501a7820275c772a2fc306fd17aed9d659544d 100644 (file)
@@ -808,7 +808,7 @@ static ssize_t ReadCompressed( access_t *p_access, uint8_t *p_buffer,
  *****************************************************************************/
 static int Seek( access_t *p_access, int64_t i_pos )
 {
-    msg_Dbg( p_access, "trying to seek to "I64Fd, i_pos );
+    msg_Dbg( p_access, "trying to seek to %"PRId64, i_pos );
 
     Disconnect( p_access );
 
@@ -1072,7 +1072,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="I64Fd"-\r\n", i_tell );
+                    "Range: bytes=%"PRId64"-\r\n", i_tell );
     }
 
     /* Cookies */
@@ -1222,7 +1222,7 @@ static int Request( access_t *p_access, int64_t i_tell )
             else
             {
                 p_access->info.i_size = i_tell + atoll( p );
-                msg_Dbg( p_access, "stream size="I64Fd, p_access->info.i_size );
+                msg_Dbg( p_access, "stream size=%"PRId64, p_access->info.i_size );
             }
         }
         else if( !strcasecmp( psz, "Location" ) )