From 231fa341353d0f4e19c057e845dbd12bb85aae1f Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Mon, 28 May 2007 18:11:40 +0100 Subject: [PATCH] msg711.acm: Constify some variables. --- dlls/msg711.acm/msg711.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/msg711.acm/msg711.c b/dlls/msg711.acm/msg711.c index b53524f9df7..c540b05808a 100644 --- a/dlls/msg711.acm/msg711.c +++ b/dlls/msg711.acm/msg711.c @@ -94,7 +94,7 @@ static const Format ULaw_Formats[] = /*********************************************************************** * G711_GetFormatIndex */ -static DWORD G711_GetFormatIndex(LPWAVEFORMATEX wfx) +static DWORD G711_GetFormatIndex(const WAVEFORMATEX *wfx) { int i, hi; const Format* fmts; @@ -983,7 +983,7 @@ static LRESULT G711_StreamClose(PACMDRVSTREAMINSTANCE adsi) * G711_StreamSize * */ -static LRESULT G711_StreamSize(PACMDRVSTREAMINSTANCE adsi, PACMDRVSTREAMSIZE adss) +static LRESULT G711_StreamSize(const ACMDRVSTREAMINSTANCE *adsi, PACMDRVSTREAMSIZE adss) { switch (adss->fdwSize) {