diff options
Diffstat (limited to 'src/libXNVCtrlAttributes/NvCtrlAttributesGlx.c')
-rw-r--r-- | src/libXNVCtrlAttributes/NvCtrlAttributesGlx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libXNVCtrlAttributes/NvCtrlAttributesGlx.c b/src/libXNVCtrlAttributes/NvCtrlAttributesGlx.c index 0f38ba7..13514b5 100644 --- a/src/libXNVCtrlAttributes/NvCtrlAttributesGlx.c +++ b/src/libXNVCtrlAttributes/NvCtrlAttributesGlx.c @@ -135,7 +135,7 @@ static Bool open_libgl(void) /* Initialize bookkeeping structure */ if ( !__libGL ) { - __libGL = (__libGLInfo *) calloc(1, sizeof(__libGLInfo)); + __libGL = calloc(1, sizeof(__libGLInfo)); if ( !__libGL ) { error_str = "Could not allocate memory."; goto fail; |