gphoto.ds: Constify a variable.

oldstable
Andrew Talbot 2007-04-30 21:40:25 +01:00 committed by Alexandre Julliard
parent eee455c24a
commit 53acd1b162
1 changed files with 2 additions and 1 deletions

View File

@ -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));