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
+1 -1
View File
@@ -111,7 +111,7 @@ static GLboolean chooseFBConfig(const _GLFWfbconfig* desired, GLXFBConfig* resul
return GL_FALSE;
}
usableConfigs = (_GLFWfbconfig*) calloc(nativeCount, sizeof(_GLFWfbconfig));
usableConfigs = calloc(nativeCount, sizeof(_GLFWfbconfig));
usableCount = 0;
for (i = 0; i < nativeCount; i++)