Zebediah Figura : qasf: Build without -DWINE_NO_LONG_TYPES.

Alexandre Julliard julliard at winehq.org
Wed Feb 9 16:03:47 CST 2022


Module: wine
Branch: master
Commit: 73287cdff1556dd066a3566b008b606fb3144a70
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=73287cdff1556dd066a3566b008b606fb3144a70

Author: Zebediah Figura <zfigura at codeweavers.com>
Date:   Tue Feb  8 20:04:41 2022 -0600

qasf: Build without -DWINE_NO_LONG_TYPES.

Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/qasf/Makefile.in  |  1 -
 dlls/qasf/dmowrapper.c | 16 ++++++++--------
 2 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/dlls/qasf/Makefile.in b/dlls/qasf/Makefile.in
index d82abfeea7d..ee8fd0451e1 100644
--- a/dlls/qasf/Makefile.in
+++ b/dlls/qasf/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
 MODULE    = qasf.dll
 IMPORTS   = strmbase dmoguids strmiids uuid ole32 oleaut32
 
diff --git a/dlls/qasf/dmowrapper.c b/dlls/qasf/dmowrapper.c
index 54581b48bee..95e12e860ae 100644
--- a/dlls/qasf/dmowrapper.c
+++ b/dlls/qasf/dmowrapper.c
@@ -86,7 +86,7 @@ static HRESULT WINAPI buffer_SetLength(IMediaBuffer *iface, DWORD len)
 {
     struct buffer *buffer = impl_from_IMediaBuffer(iface);
 
-    TRACE("iface %p, len %u.\n", iface, len);
+    TRACE("iface %p, len %lu.\n", iface, len);
 
     return IMediaSample_SetActualDataLength(buffer->sample, len);
 }
@@ -216,7 +216,7 @@ static HRESULT process_output(struct dmo_wrapper *filter, IMediaObject *dmo)
             if (FAILED(hr = IMemAllocator_GetBuffer(filter->sources[i].pin.pAllocator,
                     &filter->sources[i].buffer.sample, NULL, NULL, 0)))
             {
-                ERR("Failed to get sample, hr %#x.\n", hr);
+                ERR("Failed to get sample, hr %#lx.\n", hr);
                 goto out;
             }
             buffers[i].pBuffer = &filter->sources[i].buffer.IMediaBuffer_iface;
@@ -263,7 +263,7 @@ static HRESULT process_output(struct dmo_wrapper *filter, IMediaObject *dmo)
             {
                 if (FAILED(hr = IMemInputPin_Receive(filter->sources[i].pin.pMemInputPin, sample)))
                 {
-                    WARN("Downstream sink returned %#x.\n", hr);
+                    WARN("Downstream sink returned %#lx.\n", hr);
                     goto out;
                 }
                 IMediaSample_SetActualDataLength(sample, 0);
@@ -300,7 +300,7 @@ static HRESULT WINAPI dmo_wrapper_sink_Receive(struct strmbase_sink *iface, IMed
     {
         if (FAILED(hr = IMediaObject_Discontinuity(dmo, index)))
         {
-            ERR("Discontinuity() failed, hr %#x.\n", hr);
+            ERR("Discontinuity() failed, hr %#lx.\n", hr);
             goto out;
         }
 
@@ -324,7 +324,7 @@ static HRESULT WINAPI dmo_wrapper_sink_Receive(struct strmbase_sink *iface, IMed
     if (FAILED(hr = IMediaObject_ProcessInput(dmo, index,
             &filter->input_buffer.IMediaBuffer_iface, flags, start, stop - start)))
     {
-        ERR("ProcessInput() failed, hr %#x.\n", hr);
+        ERR("ProcessInput() failed, hr %#lx.\n", hr);
         goto out;
     }
 
@@ -346,11 +346,11 @@ static HRESULT dmo_wrapper_sink_eos(struct strmbase_sink *iface)
     IUnknown_QueryInterface(filter->dmo, &IID_IMediaObject, (void **)&dmo);
 
     if (FAILED(hr = IMediaObject_Discontinuity(dmo, index)))
-        ERR("Discontinuity() failed, hr %#x.\n", hr);
+        ERR("Discontinuity() failed, hr %#lx.\n", hr);
 
     process_output(filter, dmo);
     if (FAILED(hr = IMediaObject_Flush(dmo)))
-        ERR("Flush() failed, hr %#x.\n", hr);
+        ERR("Flush() failed, hr %#lx.\n", hr);
 
     for (i = 0; i < filter->source_count; ++i)
     {
@@ -372,7 +372,7 @@ static HRESULT dmo_wrapper_end_flush(struct strmbase_sink *iface)
     IUnknown_QueryInterface(filter->dmo, &IID_IMediaObject, (void **)&dmo);
 
     if (FAILED(hr = IMediaObject_Flush(dmo)))
-        ERR("Flush() failed, hr %#x.\n", hr);
+        ERR("Flush() failed, hr %#lx.\n", hr);
 
     for (i = 0; i < filter->source_count; ++i)
     {




More information about the wine-cvs mailing list