[MPlayer-cvslog] r25802 - trunk/loader/dshow/outputpin.c

diego subversion at mplayerhq.hu
Sat Jan 19 16:08:01 CET 2008


Author: diego
Date: Sat Jan 19 16:08:01 2008
New Revision: 25802

Log:
Use ld conversion specifier for long int argument, fixes the warning:
dshow/outputpin.c:754: warning: format '%d' expects type 'int', but argument 3 has type 'long int'


Modified:
   trunk/loader/dshow/outputpin.c

Modified: trunk/loader/dshow/outputpin.c
==============================================================================
--- trunk/loader/dshow/outputpin.c	(original)
+++ trunk/loader/dshow/outputpin.c	Sat Jan 19 16:08:01 2008
@@ -751,7 +751,7 @@ static HRESULT STDCALL COutputMemPin_Rec
 					    /* [out] */ long *nSamplesProcessed)
 {
     HRESULT hr;
-    Debug printf("COutputMemPin_ReceiveMultiple(%p) %d\n", This,nSamples);
+    Debug printf("COutputMemPin_ReceiveMultiple(%p) %ld\n", This,nSamples);
     for(*nSamplesProcessed=0; *nSamplesProcessed < nSamples; *nSamplesProcessed++) {
          hr = This->vt->Receive(This,pSamples[*nSamplesProcessed]);
          if (hr != S_OK) break;



More information about the MPlayer-cvslog mailing list