From: RĂ©mi Duraffort Date: Thu, 9 Sep 2010 18:23:26 +0000 (+0200) Subject: Change %d into %PRId64 X-Git-Tag: 1.2.0-pre1~5288 X-Git-Url: https://git.sesse.net/?p=vlc;a=commitdiff_plain;h=f35cb906aa3cc163d90a43dd0b3b68c3d7e67ee4 Change %d into %PRId64 --- diff --git a/modules/video_filter/atmo/AtmoLiveView.cpp b/modules/video_filter/atmo/AtmoLiveView.cpp index 98631ce819..d4512eca10 100644 --- a/modules/video_filter/atmo/AtmoLiveView.cpp +++ b/modules/video_filter/atmo/AtmoLiveView.cpp @@ -7,6 +7,9 @@ * * $Id$ */ + +#define __STDC_FORMAT_MACROS 1 + #include "AtmoDefs.h" #include "AtmoLiveView.h" #include "AtmoOutputFilter.h" @@ -20,8 +23,6 @@ #include "AtmoExternalCaptureInput.h" - - #if defined(_ATMO_VLC_PLUGIN_) CAtmoLiveView::CAtmoLiveView(CAtmoDynData *pAtmoDynData) : @@ -92,7 +93,7 @@ DWORD CAtmoLiveView::Execute(void) if( frameDelay > 0 ) do_sleep( frameDelay ); #if defined(_ATMO_VLC_PLUGIN_) - msg_Dbg( m_pAtmoThread, "First Packet got %d ms", (get_time - t) / 1000 ); + msg_Dbg( m_pAtmoThread, "First Packet got %"PRId64" ms", (get_time - t) / 1000 ); #endif } @@ -133,7 +134,7 @@ DWORD CAtmoLiveView::Execute(void) if( frameDelay > 0 ) do_sleep( frameDelay ); #if defined(_ATMO_VLC_PLUGIN_) - msg_Dbg( m_pAtmoThread, "got delayed packet %d ms", (mdate() - t) / 1000 ); + msg_Dbg( m_pAtmoThread, "got delayed packet %"PRId64" ms", (mdate() - t) / 1000 ); #endif continue; }