Andrew Talbot : dmusic: Constify a variable.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Apr 25 07:06:30 CDT 2007
Module: wine
Branch: master
Commit: 391b1c24a2e8f983298bf0da8cc5192fe699e5b3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=391b1c24a2e8f983298bf0da8cc5192fe699e5b3
Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date: Tue Apr 24 20:57:16 2007 +0100
dmusic: Constify a variable.
---
dlls/dmusic/dmusic_main.c | 2 +-
dlls/dmusic/dmusic_private.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/dmusic/dmusic_main.c b/dlls/dmusic/dmusic_main.c
index 1eb508f..91b687e 100644
--- a/dlls/dmusic/dmusic_main.c
+++ b/dlls/dmusic/dmusic_main.c
@@ -216,7 +216,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/dmusic/dmusic_private.h b/dlls/dmusic/dmusic_private.h
index d5589d9..4f59a39 100644
--- a/dlls/dmusic/dmusic_private.h
+++ b/dlls/dmusic/dmusic_private.h
@@ -305,7 +305,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