mesa: Change many Type A MESA_FORMATs to meet naming standard
[mesa.git] / src / mesa / drivers / dri / radeon / radeon_queryobj.h
index 9ed61e237ed1d105aabaef247041c4ba96e86384..0ad177a2c43a6dc593a33414140b28d15b497762 100644 (file)
@@ -42,7 +42,7 @@ void radeon_emit_queryobj(struct gl_context *ctx, struct radeon_state_atom *atom
 static inline void radeon_init_query_stateobj(radeonContextPtr radeon, int SZ)
 {
        radeon->query.queryobj.cmd_size = (SZ);
-       radeon->query.queryobj.cmd = (uint32_t*) calloc(SZ, sizeof(uint32_t));
+       radeon->query.queryobj.cmd = calloc(SZ, sizeof(uint32_t));
        radeon->query.queryobj.name = "queryobj";
        radeon->query.queryobj.idx = 0;
        radeon->query.queryobj.check = radeon_check_query_active;