Andrew Talbot : msacm32.drv: Constify some variables.
Module: wine Branch: master Commit: 0bfd58014a136f50b50bebe70d8b14e31766f296 URL: http://source.winehq.org/git/wine.git/?a=commit;h=0bfd58014a136f50b50bebe70d... Author: Andrew Talbot <Andrew.Talbot(a)talbotville.com> Date: Sun May 27 17:52:34 2007 +0100 msacm32.drv: Constify some variables. --- dlls/msacm32.drv/wavemap.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/msacm32.drv/wavemap.c b/dlls/msacm32.drv/wavemap.c index d2738aa..33e328d 100644 --- a/dlls/msacm32.drv/wavemap.c +++ b/dlls/msacm32.drv/wavemap.c @@ -67,7 +67,7 @@ typedef struct tagWAVEMAPDATA { DWORD nSamplesPerSecInner; } WAVEMAPDATA; -static BOOL WAVEMAP_IsData(WAVEMAPDATA* wm) +static BOOL WAVEMAP_IsData(const WAVEMAPDATA* wm) { return (!IsBadReadPtr(wm, sizeof(WAVEMAPDATA)) && wm->self == wm); }
participants (1)
-
Alexandre Julliard