Commit 82e5990a authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

dmcompos: Constify a variable.

parent a45ffebe
...@@ -360,7 +360,7 @@ const char *debugstr_fourcc (DWORD fourcc) { ...@@ -360,7 +360,7 @@ const char *debugstr_fourcc (DWORD fourcc) {
} }
/* DMUS_VERSION struct to string conversion for debug messages */ /* 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'"; if (!version) return "'null'";
return wine_dbg_sprintf ("\'%i,%i,%i,%i\'", return wine_dbg_sprintf ("\'%i,%i,%i,%i\'",
(int)((version->dwVersionMS & 0xFFFF0000) >> 8), (int)(version->dwVersionMS & 0x0000FFFF), (int)((version->dwVersionMS & 0xFFFF0000) >> 8), (int)(version->dwVersionMS & 0x0000FFFF),
......
...@@ -157,7 +157,7 @@ extern int even_or_odd (DWORD number); ...@@ -157,7 +157,7 @@ extern int even_or_odd (DWORD number);
/* FOURCC to string conversion for debug messages */ /* FOURCC to string conversion for debug messages */
extern const char *debugstr_fourcc (DWORD fourcc); extern const char *debugstr_fourcc (DWORD fourcc);
/* DMUS_VERSION struct to string conversion for debug messages */ /* 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 */ /* returns name of given GUID */
extern const char *debugstr_dmguid (const GUID *id); extern const char *debugstr_dmguid (const GUID *id);
/* returns name of given error code */ /* returns name of given error code */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment