added cast to suppress warning
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Wed, 6 Jun 2007 12:11:31 +0000 (12:11 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Wed, 6 Jun 2007 12:11:31 +0000 (12:11 +0000)
[r14364]

ir/be/ppc32/ppc32_new_nodes.c

index d7ec1e8..c816b06 100644 (file)
@@ -508,7 +508,7 @@ void init_ppc32_attributes(ir_node *node, int flags,
        attr->data.empty   = NULL;
 
        attr->slots = NEW_ARR_D(const arch_register_t*, obst, n_res);
-       memset(attr->slots, 0, n_res * sizeof(attr->slots[0]));
+       memset((arch_register_t **)attr->slots, 0, n_res * sizeof(attr->slots[0]));
 }