From 710b878edccff75e1ce34dda8a11c48b95951ffa Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 5 Aug 2011 11:30:53 -0700 Subject: [PATCH] Constify some pointers that won't change after initialization --- dsound_private.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dsound_private.h b/dsound_private.h index 2b51635..19edfcd 100644 --- a/dsound_private.h +++ b/dsound_private.h @@ -414,8 +414,8 @@ struct DS8Primary { /* Taken from the share */ ALCcontext *ctx; - ALboolean *SupportedExt; - ExtALFuncs *ExtAL; + const ALboolean *SupportedExt; + const ExtALFuncs *ExtAL; CRITICAL_SECTION *crst; ALuint *sources; ALuint auxslot; @@ -517,7 +517,7 @@ struct DS8Buffer { ALuint curidx; BOOL isplaying, islooping, bufferlost; ALCcontext *ctx; - ExtALFuncs *ExtAL; + const ExtALFuncs *ExtAL; CRITICAL_SECTION *crst; DS3DBUFFER ds3dbuffer; -- 2.11.4.GIT