]> git.proxmox.com Git - mirror_qemu.git/blobdiff - tests/tcg/aarch64/system/semiheap.c
Drop more useless casts from void * to pointer
[mirror_qemu.git] / tests / tcg / aarch64 / system / semiheap.c
index a254bd8982c4a75e08a04be7f0d6a1236dfee1ad..693a1b037d26206dbf7b7129735d4836afff8a7e 100644 (file)
@@ -73,11 +73,11 @@ int main(int argc, char *argv[argc])
     ml_printf("stack: %p <- %p\n", info.stack_limit, info.stack_base);
 
     /* finally can we read/write the heap */
-    ptr_to_heap = (uint32_t *) info.heap_base;
+    ptr_to_heap = info.heap_base;
     for (i = 0; i < 512; i++) {
         *ptr_to_heap++ = i;
     }
-    ptr_to_heap = (uint32_t *) info.heap_base;
+    ptr_to_heap = info.heap_base;
     for (i = 0; i < 512; i++) {
         uint32_t tmp = *ptr_to_heap;
         if (tmp != i) {