Commit b19be887 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

dmloader: Constify some variables.

parent ac43c850
......@@ -56,7 +56,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\'",
HIWORD(version->dwVersionMS),LOWORD(version->dwVersionMS),
......@@ -83,7 +83,7 @@ static const char *debugstr_month (DWORD dwMonth) {
}
/* FILETIME struct to string conversion for debug messages */
const char *debugstr_filetime (LPFILETIME time) {
const char *debugstr_filetime (const FILETIME *time) {
SYSTEMTIME sysTime;
if (!time) return "'null'";
......
......@@ -50,9 +50,9 @@ extern const char *resolve_STREAM_SEEK (DWORD flag);
/* 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);
/* FILETIME struct to string conversion for debug messages */
extern const char *debugstr_filetime (LPFILETIME time);
extern const char *debugstr_filetime (const FILETIME *time);
/* returns name of given GUID */
extern const char *debugstr_dmguid (const GUID *id);
/* 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