]> Git Repo - qemu.git/blobdiff - hw/ppc/ppc405_boards.c
Merge remote-tracking branch 'stefanha/trivial-patches' into staging
[qemu.git] / hw / ppc / ppc405_boards.c
index 8e56b16648f8085c5d643c14f041454cd072670c..f0c7ee9abd5891d40b6b47e8e48f0efd135e5e4f 100644 (file)
@@ -337,7 +337,7 @@ static void ref405ep_init(QEMUMachineInitArgs *args)
         if (kernel_cmdline != NULL) {
             len = strlen(kernel_cmdline);
             bdloc -= ((len + 255) & ~255);
-            cpu_physical_memory_write(bdloc, (void *)kernel_cmdline, len + 1);
+            cpu_physical_memory_write(bdloc, kernel_cmdline, len + 1);
             env->gpr[6] = bdloc;
             env->gpr[7] = bdloc + len;
         } else {
This page took 0.02395 seconds and 4 git commands to generate.