forked from Mirrors/wine-wine
gphoto.ds: Constify a variable.
parent
eee455c24a
commit
53acd1b162
|
@ -229,7 +229,8 @@ static TW_BOOL GPHOTO2_OneValueSet16 (pTW_CAPABILITY pCapability, TW_UINT16 valu
|
||||||
return FALSE;
|
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;
|
pTW_ENUMERATION pVal;
|
||||||
pCapability->hContainer = (TW_HANDLE)GlobalAlloc (0, sizeof(TW_ENUMERATION) + nrofvalues * sizeof(TW_UINT16));
|
pCapability->hContainer = (TW_HANDLE)GlobalAlloc (0, sizeof(TW_ENUMERATION) + nrofvalues * sizeof(TW_UINT16));
|
||||||
|
|
Loading…
Reference in New Issue