msg711.acm: Constify some variables

Andrew Talbot Andrew.Talbot at talbotville.com
Mon May 28 12:11:40 CDT 2007


Changelog:
    msg711.acm: Constify some variables.

diff -urN a/dlls/msg711.acm/msg711.c b/dlls/msg711.acm/msg711.c
--- a/dlls/msg711.acm/msg711.c	2007-03-21 22:04:17.000000000 +0000
+++ b/dlls/msg711.acm/msg711.c	2007-05-28 16:49:00.000000000 +0100
@@ -94,7 +94,7 @@
 /***********************************************************************
  *           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 @@
  *           G711_StreamSize
  *
  */
-static	LRESULT G711_StreamSize(PACMDRVSTREAMINSTANCE adsi, PACMDRVSTREAMSIZE adss)
+static	LRESULT G711_StreamSize(const ACMDRVSTREAMINSTANCE *adsi, PACMDRVSTREAMSIZE adss)
 {
     switch (adss->fdwSize)
     {



More information about the wine-patches mailing list