]> git.sesse.net Git - vlc/commitdiff
avio: lld => PRIi64.
authorRémi Duraffort <ivoire@videolan.org>
Tue, 5 Jan 2010 17:00:06 +0000 (18:00 +0100)
committerRémi Duraffort <ivoire@videolan.org>
Tue, 5 Jan 2010 17:01:25 +0000 (18:01 +0100)
modules/access/avio.c

index aeeda4acb83035d4a68bf9f261d8c4ef13e63e84..0da9278f2ee01485b43a0957c048b7b9bc107265 100644 (file)
@@ -101,7 +101,7 @@ int OpenAvio(vlc_object_t *object)
         goto error;
     }
     const int64_t size = url_filesize(sys->context);
-    msg_Dbg(access, "is_streamed=%d size=%lld", sys->context->is_streamed, size);
+    msg_Dbg(access, "is_streamed=%d size=%"PRIi64, sys->context->is_streamed, size);
 
     /* */
     access_InitFields(access);
@@ -154,7 +154,7 @@ static int Seek(access_t *access, int64_t position)
     access_sys_t *sys = access->p_sys;
 
     if (url_seek(sys->context, position, SEEK_SET) < 0) {
-        msg_Err(access, "Seek to %lld failed\n", position);
+        msg_Err(access, "Seek to %"PRIi64" failed\n", position);
         if (access->info.i_size <= 0 || position != access->info.i_size)
             return VLC_EGENERIC;
     }