Andrew Talbot : gphoto.ds: Constify a variable.

Alexandre Julliard julliard at wine.codeweavers.com
Wed May 2 08:14:53 CDT 2007


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

Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date:   Mon Apr 30 21:40:25 2007 +0100

gphoto.ds: Constify a variable.

---

 dlls/gphoto2.ds/capability.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/gphoto2.ds/capability.c b/dlls/gphoto2.ds/capability.c
index 474d590..e9700cb 100644
--- a/dlls/gphoto2.ds/capability.c
+++ b/dlls/gphoto2.ds/capability.c
@@ -229,7 +229,8 @@ static TW_BOOL GPHOTO2_OneValueSet16 (pTW_CAPABILITY pCapability, TW_UINT16 valu
         return FALSE;
 }
 
-static TW_BOOL GPHOTO2_EnumSet16 (pTW_CAPABILITY pCapability, int nrofvalues, TW_UINT16 *values, int current, int def)
+static TW_BOOL GPHOTO2_EnumSet16 (pTW_CAPABILITY pCapability, int nrofvalues,
+                                  const TW_UINT16 *values, int current, int def)
 {
     pTW_ENUMERATION pVal;
     pCapability->hContainer = (TW_HANDLE)GlobalAlloc (0, sizeof(TW_ENUMERATION) + nrofvalues * sizeof(TW_UINT16));




More information about the wine-cvs mailing list