mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-16 20:38:16 +00:00
[client] remove all casts around malloc
The cast is unnecessary in C and should be removed to avoid clutter.
This commit is contained in:
@@ -51,7 +51,7 @@ struct EGL_Splash
|
||||
|
||||
bool egl_splashInit(EGL_Splash ** splash)
|
||||
{
|
||||
*splash = (EGL_Splash *)malloc(sizeof(**splash));
|
||||
*splash = malloc(sizeof(**splash));
|
||||
if (!*splash)
|
||||
{
|
||||
DEBUG_ERROR("Failed to malloc EGL_Splash");
|
||||
|
Reference in New Issue
Block a user