mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 19:30:58 +00:00
comctl32: Fix DPA_GetPtr() prototype.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
56b16ff466
commit
043ecca384
|
@ -524,9 +524,9 @@ HDPA WINAPI DPA_Clone (const HDPA hdpa, HDPA hdpaNew)
|
|||
* Success: pointer
|
||||
* Failure: NULL
|
||||
*/
|
||||
LPVOID WINAPI DPA_GetPtr (HDPA hdpa, INT nIndex)
|
||||
LPVOID WINAPI DPA_GetPtr (HDPA hdpa, INT_PTR nIndex)
|
||||
{
|
||||
TRACE("(%p %d)\n", hdpa, nIndex);
|
||||
TRACE("(%p %ld)\n", hdpa, nIndex);
|
||||
|
||||
if (!hdpa)
|
||||
return NULL;
|
||||
|
@ -535,7 +535,7 @@ LPVOID WINAPI DPA_GetPtr (HDPA hdpa, INT nIndex)
|
|||
return NULL;
|
||||
}
|
||||
if ((nIndex < 0) || (nIndex >= hdpa->nItemCount)) {
|
||||
WARN("not enough pointers in array (%d vs %d).\n",nIndex,hdpa->nItemCount);
|
||||
WARN("not enough pointers in array (%ld vs %d).\n",nIndex,hdpa->nItemCount);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ static PVOID (WINAPI *pDPA_DeletePtr)(HDPA,INT);
|
|||
static BOOL (WINAPI *pDPA_Destroy)(HDPA);
|
||||
static VOID (WINAPI *pDPA_DestroyCallback)(HDPA,PFNDPAENUMCALLBACK,PVOID);
|
||||
static VOID (WINAPI *pDPA_EnumCallback)(HDPA,PFNDPAENUMCALLBACK,PVOID);
|
||||
static INT (WINAPI *pDPA_GetPtr)(HDPA,INT);
|
||||
static PVOID (WINAPI *pDPA_GetPtr)(HDPA,INT_PTR);
|
||||
static INT (WINAPI *pDPA_GetPtrIndex)(HDPA,PVOID);
|
||||
static BOOL (WINAPI *pDPA_Grow)(HDPA,INT);
|
||||
static INT (WINAPI *pDPA_InsertPtr)(HDPA,INT,PVOID);
|
||||
|
|
|
@ -5170,7 +5170,7 @@ BOOL WINAPI DPA_Destroy(HDPA);
|
|||
LPVOID WINAPI DPA_DeletePtr(HDPA, INT);
|
||||
BOOL WINAPI DPA_DeleteAllPtrs(HDPA);
|
||||
BOOL WINAPI DPA_SetPtr(HDPA, INT, LPVOID);
|
||||
LPVOID WINAPI DPA_GetPtr(HDPA, INT);
|
||||
LPVOID WINAPI DPA_GetPtr(HDPA, INT_PTR);
|
||||
INT WINAPI DPA_GetPtrIndex(HDPA, LPCVOID);
|
||||
ULONGLONG WINAPI DPA_GetSize(HDPA);
|
||||
BOOL WINAPI DPA_Grow(HDPA, INT);
|
||||
|
|
Loading…
Reference in a new issue