diff options
Diffstat (limited to 'src/glx/xfont.c')
-rw-r--r-- | src/glx/xfont.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/xfont.c b/src/glx/xfont.c index 065938f0504..f358204c0f8 100644 --- a/src/glx/xfont.c +++ b/src/glx/xfont.c @@ -245,7 +245,7 @@ DRI_glXUseXFont(struct glx_context *CC, Font font, int first, int count, int lis max_bm_width = (max_width + 7) / 8; max_bm_height = max_height; - bm = (GLubyte *) malloc((max_bm_width * max_bm_height) * sizeof(GLubyte)); + bm = malloc((max_bm_width * max_bm_height) * sizeof(GLubyte)); if (!bm) { XFreeFontInfo(NULL, fs, 1); __glXSetError(CC, GL_OUT_OF_MEMORY); |