[PATCH] dmusic: Sync up the dmobject.c files
Michael Stefaniuc
mstefani at winehq.org
Wed Feb 23 13:45:09 CST 2022
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
Got out of sync with the build without -DWINE_NO_LONG_TYPES patches.
dlls/dmcompos/dmobject.c | 2 +-
dlls/dmscript/dmobject.c | 2 +-
dlls/dmstyle/dmobject.c | 2 +-
dlls/dmusic/dmobject.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/dmcompos/dmobject.c b/dlls/dmcompos/dmobject.c
index 84b08e0d772..b526b23d031 100644
--- a/dlls/dmcompos/dmobject.c
+++ b/dlls/dmcompos/dmobject.c
@@ -295,7 +295,7 @@ static HRESULT stream_read(IStream *stream, void *data, ULONG size)
hr = IStream_Read(stream, data, size, &read);
if (FAILED(hr))
- TRACE_(dmfile)("IStream_Read failed: %08lx\n", hr);
+ TRACE_(dmfile)("IStream_Read failed: %#lx\n", hr);
else if (!read && read < size) {
/* All or nothing: Handle a partial read due to end of stream as an error */
TRACE_(dmfile)("Short read: %lu < %lu\n", read, size);
diff --git a/dlls/dmscript/dmobject.c b/dlls/dmscript/dmobject.c
index 84b08e0d772..b526b23d031 100644
--- a/dlls/dmscript/dmobject.c
+++ b/dlls/dmscript/dmobject.c
@@ -295,7 +295,7 @@ static HRESULT stream_read(IStream *stream, void *data, ULONG size)
hr = IStream_Read(stream, data, size, &read);
if (FAILED(hr))
- TRACE_(dmfile)("IStream_Read failed: %08lx\n", hr);
+ TRACE_(dmfile)("IStream_Read failed: %#lx\n", hr);
else if (!read && read < size) {
/* All or nothing: Handle a partial read due to end of stream as an error */
TRACE_(dmfile)("Short read: %lu < %lu\n", read, size);
diff --git a/dlls/dmstyle/dmobject.c b/dlls/dmstyle/dmobject.c
index 84b08e0d772..b526b23d031 100644
--- a/dlls/dmstyle/dmobject.c
+++ b/dlls/dmstyle/dmobject.c
@@ -295,7 +295,7 @@ static HRESULT stream_read(IStream *stream, void *data, ULONG size)
hr = IStream_Read(stream, data, size, &read);
if (FAILED(hr))
- TRACE_(dmfile)("IStream_Read failed: %08lx\n", hr);
+ TRACE_(dmfile)("IStream_Read failed: %#lx\n", hr);
else if (!read && read < size) {
/* All or nothing: Handle a partial read due to end of stream as an error */
TRACE_(dmfile)("Short read: %lu < %lu\n", read, size);
diff --git a/dlls/dmusic/dmobject.c b/dlls/dmusic/dmobject.c
index 84b08e0d772..b526b23d031 100644
--- a/dlls/dmusic/dmobject.c
+++ b/dlls/dmusic/dmobject.c
@@ -295,7 +295,7 @@ static HRESULT stream_read(IStream *stream, void *data, ULONG size)
hr = IStream_Read(stream, data, size, &read);
if (FAILED(hr))
- TRACE_(dmfile)("IStream_Read failed: %08lx\n", hr);
+ TRACE_(dmfile)("IStream_Read failed: %#lx\n", hr);
else if (!read && read < size) {
/* All or nothing: Handle a partial read due to end of stream as an error */
TRACE_(dmfile)("Short read: %lu < %lu\n", read, size);
--
2.34.1
More information about the wine-devel
mailing list