Fixed warning C4028: formal parameter 1 different from declaration
This commit is contained in:
@@ -112,7 +112,7 @@ static int SDLCALL pen_header_compare(const void *lhs, const void *rhs)
|
|||||||
return l->id - r->id;
|
return l->id - r->id;
|
||||||
}
|
}
|
||||||
|
|
||||||
SDL_Pen *SDL_GetPenPtr(const Uint32 instance_id)
|
SDL_Pen *SDL_GetPenPtr(Uint32 instance_id)
|
||||||
{
|
{
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
|
|
||||||
@@ -271,7 +271,7 @@ static void pen_sort(void)
|
|||||||
pen_handler.sorted = SDL_TRUE;
|
pen_handler.sorted = SDL_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
SDL_Pen *SDL_PenModifyBegin(const Uint32 instance_id)
|
SDL_Pen *SDL_PenModifyBegin(Uint32 instance_id)
|
||||||
{
|
{
|
||||||
SDL_PenID id = { 0 };
|
SDL_PenID id = { 0 };
|
||||||
const size_t alloc_growth_constant = 1; /* Expect few pens */
|
const size_t alloc_growth_constant = 1; /* Expect few pens */
|
||||||
|
|||||||
Reference in New Issue
Block a user