aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/cpuinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mesa/main/cpuinfo.c')
-rw-r--r--mesalib/src/mesa/main/cpuinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesalib/src/mesa/main/cpuinfo.c b/mesalib/src/mesa/main/cpuinfo.c
index 0d7971bcc..41505f637 100644
--- a/mesalib/src/mesa/main/cpuinfo.c
+++ b/mesalib/src/mesa/main/cpuinfo.c
@@ -51,7 +51,7 @@ _mesa_get_cpu_string(void)
#define MAX_STRING 50
char *buffer;
- buffer = (char *) malloc(MAX_STRING);
+ buffer = malloc(MAX_STRING);
if (!buffer)
return NULL;