mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-23 21:44:50 +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:
parent
fd4a4114e6
commit
81c38e825c
12 changed files with 18 additions and 18 deletions
|
@ -326,7 +326,7 @@ bool opengl_onMouseShape(LG_Renderer * renderer, const LG_RendererCursor cursor,
|
|||
{
|
||||
if (this->mouseData)
|
||||
free(this->mouseData);
|
||||
this->mouseData = (uint8_t *)malloc(size);
|
||||
this->mouseData = malloc(size);
|
||||
this->mouseDataSize = size;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue