Andrew Talbot : msdmo: Constify some variables.

Alexandre Julliard julliard at wine.codeweavers.com
Tue May 29 08:05:26 CDT 2007


Module: wine
Branch: master
Commit: a7e82e68eab5794f0bd4bbc26007e9f167defd6e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a7e82e68eab5794f0bd4bbc26007e9f167defd6e

Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date:   Mon May 28 18:11:33 2007 +0100

msdmo: Constify some variables.

---

 dlls/msdmo/dmoreg.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/msdmo/dmoreg.c b/dlls/msdmo/dmoreg.c
index bba159a..74aa1b4 100644
--- a/dlls/msdmo/dmoreg.c
+++ b/dlls/msdmo/dmoreg.c
@@ -102,7 +102,7 @@ static LPWSTR GUIDToString(LPWSTR lpwstr, REFGUID lpcguid)
     return lpwstr;
 }
 
-static BOOL IsMediaTypeEqual(DMO_PARTIAL_MEDIATYPE* mt1, DMO_PARTIAL_MEDIATYPE* mt2)
+static BOOL IsMediaTypeEqual(const DMO_PARTIAL_MEDIATYPE* mt1, const DMO_PARTIAL_MEDIATYPE* mt2)
 {
 
     return (IsEqualCLSID(&mt1->type, &mt2->type) ||




More information about the wine-cvs mailing list