diff options
Diffstat (limited to 'src/mesa/main/cpuinfo.c')
-rw-r--r-- | src/mesa/main/cpuinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/cpuinfo.c b/src/mesa/main/cpuinfo.c index 0d7971bcc47..41505f6378b 100644 --- a/src/mesa/main/cpuinfo.c +++ b/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; |