mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-03 14:50:15 +02:00
Use consistent style for pointer declarations and casts
This commit is contained in:
@@ -95,7 +95,7 @@ static unsigned int get_allocation_bucket(void *mem)
|
||||
return index;
|
||||
}
|
||||
|
||||
static SDL_tracked_allocation* SDL_GetTrackedAllocation(void *mem)
|
||||
static SDL_tracked_allocation *SDL_GetTrackedAllocation(void *mem)
|
||||
{
|
||||
SDL_tracked_allocation *entry;
|
||||
LOCK_ALLOCATOR();
|
||||
@@ -216,9 +216,9 @@ static void SDL_UntrackAllocation(void *mem)
|
||||
UNLOCK_ALLOCATOR();
|
||||
}
|
||||
|
||||
static void rand_fill_memory(void* ptr, size_t start, size_t end)
|
||||
static void rand_fill_memory(void *ptr, size_t start, size_t end)
|
||||
{
|
||||
Uint8* mem = (Uint8*) ptr;
|
||||
Uint8 *mem = (Uint8 *)ptr;
|
||||
size_t i;
|
||||
|
||||
if (!s_randfill_allocations)
|
||||
|
||||
Reference in New Issue
Block a user