From f35cb906aa3cc163d90a43dd0b3b68c3d7e67ee4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Duraffort?= Date: Thu, 9 Sep 2010 20:23:26 +0200 Subject: [PATCH] Change %d into %PRId64 --- modules/video_filter/atmo/AtmoLiveView.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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; } -- 2.39.2