Michael Stefaniuc : dmime: Constify the chunk parameter of stream_skip_chunk().

Alexandre Julliard julliard at winehq.org
Wed Aug 5 16:04:59 CDT 2020


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

Author: Michael Stefaniuc <mstefani at winehq.org>
Date:   Wed Aug  5 00:14:31 2020 +0200

dmime: Constify the chunk parameter of stream_skip_chunk().

Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/dmime/dmobject.c | 2 +-
 dlls/dmime/dmobject.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/dmime/dmobject.c b/dlls/dmime/dmobject.c
index 2a0a540fdb..0ef007530f 100644
--- a/dlls/dmime/dmobject.c
+++ b/dlls/dmime/dmobject.c
@@ -349,7 +349,7 @@ HRESULT stream_get_chunk(IStream *stream, struct chunk_entry *chunk)
     return S_OK;
 }
 
-HRESULT stream_skip_chunk(IStream *stream, struct chunk_entry *chunk)
+HRESULT stream_skip_chunk(IStream *stream, const struct chunk_entry *chunk)
 {
     LARGE_INTEGER end;
 
diff --git a/dlls/dmime/dmobject.h b/dlls/dmime/dmobject.h
index fcbb89fd28..a1729c8323 100644
--- a/dlls/dmime/dmobject.h
+++ b/dlls/dmime/dmobject.h
@@ -33,7 +33,7 @@ struct chunk_entry {
 
 HRESULT stream_get_chunk(IStream *stream, struct chunk_entry *chunk) DECLSPEC_HIDDEN;
 HRESULT stream_next_chunk(IStream *stream, struct chunk_entry *chunk) DECLSPEC_HIDDEN;
-HRESULT stream_skip_chunk(IStream *stream, struct chunk_entry *chunk) DECLSPEC_HIDDEN;
+HRESULT stream_skip_chunk(IStream *stream, const struct chunk_entry *chunk) DECLSPEC_HIDDEN;
 
 HRESULT stream_chunk_get_data(IStream *stream, const struct chunk_entry *chunk, void *data,
         ULONG size) DECLSPEC_HIDDEN;




More information about the wine-cvs mailing list