[vlc-devel] commit: avio: lld => PRIi64. ( Rémi Duraffort )

git version control git at videolan.org
Tue Jan 5 18:01:40 CET 2010


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Tue Jan  5 18:00:06 2010 +0100| [49245bd9e5d00b380a7576669c4eacc90e737e53] | committer: Rémi Duraffort 

avio: lld => PRIi64.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=49245bd9e5d00b380a7576669c4eacc90e737e53
---

 modules/access/avio.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/access/avio.c b/modules/access/avio.c
index aeeda4a..0da9278 100644
--- a/modules/access/avio.c
+++ b/modules/access/avio.c
@@ -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;
     }




More information about the vlc-devel mailing list