Andrew Talbot : imaadp32.acm: Constify some variables.

Alexandre Julliard julliard at wine.codeweavers.com
Thu May 3 08:57:06 CDT 2007


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

Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date:   Wed May  2 21:24:31 2007 +0100

imaadp32.acm: Constify some variables.

---

 dlls/imaadp32.acm/imaadp32.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/imaadp32.acm/imaadp32.c b/dlls/imaadp32.acm/imaadp32.c
index ca788e7..e5b1544 100644
--- a/dlls/imaadp32.acm/imaadp32.c
+++ b/dlls/imaadp32.acm/imaadp32.c
@@ -93,7 +93,7 @@ static const Format ADPCM_Formats[] =
 /***********************************************************************
  *           ADPCM_GetFormatIndex
  */
-static	DWORD	ADPCM_GetFormatIndex(LPWAVEFORMATEX wfx)
+static	DWORD	ADPCM_GetFormatIndex(const WAVEFORMATEX *wfx)
 {
     int             i, hi;
     const Format*   fmts;
@@ -773,7 +773,7 @@ static	LRESULT	ADPCM_StreamClose(PACMDRVSTREAMINSTANCE adsi)
  *           ADPCM_StreamSize
  *
  */
-static	LRESULT ADPCM_StreamSize(PACMDRVSTREAMINSTANCE adsi, PACMDRVSTREAMSIZE adss)
+static	LRESULT ADPCM_StreamSize(const ACMDRVSTREAMINSTANCE *adsi, PACMDRVSTREAMSIZE adss)
 {
     switch (adss->fdwSize)
     {




More information about the wine-cvs mailing list