Removed superflous casts of allocated memory.

This commit is contained in:
Camilla Berglund
2013-07-04 14:54:07 +02:00
parent d7512f529c
commit 7a03ca8dbc
12 changed files with 27 additions and 27 deletions
+3 -3
View File
@@ -44,9 +44,9 @@
void _glfwAllocGammaArrays(GLFWgammaramp* ramp, unsigned int size)
{
ramp->red = (unsigned short*) calloc(size, sizeof(unsigned short));
ramp->green = (unsigned short*) calloc(size, sizeof(unsigned short));
ramp->blue = (unsigned short*) calloc(size, sizeof(unsigned short));
ramp->red = calloc(size, sizeof(unsigned short));
ramp->green = calloc(size, sizeof(unsigned short));
ramp->blue = calloc(size, sizeof(unsigned short));
ramp->size = size;
}