Andrew Talbot : winmm: Constify some variables.

Alexandre Julliard julliard at winehq.org
Tue Aug 23 12:45:02 CDT 2011


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

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Mon Aug 22 20:31:51 2011 +0100

winmm: Constify some variables.

---

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

diff --git a/dlls/winmm/mmio.c b/dlls/winmm/mmio.c
index aff150a..8c49826 100644
--- a/dlls/winmm/mmio.c
+++ b/dlls/winmm/mmio.c
@@ -380,8 +380,8 @@ static FOURCC MMIO_ParseExtA(LPCSTR szFileName)
     FOURCC ret = 0;
 
     /* Note that ext{Start,End} point to the . and + respectively */
-    LPSTR extEnd;
-    LPSTR extStart;
+    LPCSTR extEnd;
+    LPCSTR extStart;
 
     CHAR ext[5];
 




More information about the wine-cvs mailing list