Andrew Talbot : dmcompos: Constify a variable.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Apr 25 07:06:30 CDT 2007


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

Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date:   Tue Apr 24 20:55:46 2007 +0100

dmcompos: Constify a variable.

---

 dlls/dmcompos/dmcompos_main.c    |    2 +-
 dlls/dmcompos/dmcompos_private.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/dmcompos/dmcompos_main.c b/dlls/dmcompos/dmcompos_main.c
index 593e6e8..9279fc0 100644
--- a/dlls/dmcompos/dmcompos_main.c
+++ b/dlls/dmcompos/dmcompos_main.c
@@ -360,7 +360,7 @@ const char *debugstr_fourcc (DWORD fourcc) {
 }
 
 /* DMUS_VERSION struct to string conversion for debug messages */
-const char *debugstr_dmversion (LPDMUS_VERSION version) {
+const char *debugstr_dmversion (const DMUS_VERSION *version) {
 	if (!version) return "'null'";
 	return wine_dbg_sprintf ("\'%i,%i,%i,%i\'",
 		(int)((version->dwVersionMS & 0xFFFF0000) >> 8), (int)(version->dwVersionMS & 0x0000FFFF), 
diff --git a/dlls/dmcompos/dmcompos_private.h b/dlls/dmcompos/dmcompos_private.h
index d3053bd..9c43c18 100644
--- a/dlls/dmcompos/dmcompos_private.h
+++ b/dlls/dmcompos/dmcompos_private.h
@@ -157,7 +157,7 @@ extern int even_or_odd (DWORD number);
 /* FOURCC to string conversion for debug messages */
 extern const char *debugstr_fourcc (DWORD fourcc);
 /* DMUS_VERSION struct to string conversion for debug messages */
-extern const char *debugstr_dmversion (LPDMUS_VERSION version);
+extern const char *debugstr_dmversion (const DMUS_VERSION *version);
 /* returns name of given GUID */
 extern const char *debugstr_dmguid (const GUID *id);
 /* returns name of given error code */




More information about the wine-cvs mailing list