arch_init/ram_load: fix compilation on 32bit hosts
PATCH 1/1 arch_init/ram_load: fix compilation on 32bit hosts
Commit 87d2f825 broke compilation of arch_init.c on 32bit hosts. Fix it.
Signed-off-by Alexander Graf <[email protected]>
--- arch_init.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
arch_init.c +4 -4
@@ -815,10 +815,10 @@ static int ram_load(QEMUFile *f, void *opaque, int version_id) QTAILQ_FOREACH(block, &ram_list.blocks, next) {if (!strncmp (id, block->idstr,sizeof (id))) {if (block->length != length) { -fprintf (stderr,"Length mismatch: %s: %ld " -"in != " RAM_ADDR_FMT "\n" , id, length, - block->length); - ret = -EINVAL ; +fprintf (stderr,"Length mismatch: %s: " +RAM_ADDR_FMT " " "in != " RAM_ADDR_FMT +"\n" , id, length, block->length); + ret = -EINVAL ; goto done; }break ;
Signature · 1 line
1.8.1.4
Am 28.06.2013 16:15, schrieb Alexander Graf:
Quoted 3 lines
Commit
87d2f825broke compilation ofarch_init.con 32bit hosts. Fix it.Signed-off-by Alexander Graf <[email protected]>
Cf. http://patchwork.ozlabs.org/patch/255122/ :)
Andreas
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Quoted 6 lines · Andreas Färber
Am 28.06.2013 16:15, schrieb Alexander Graf:
Quoted 3 lines
Commit
87d2f825broke compilation ofarch_init.con 32bit hosts. Fix it.Signed-off-by Alexander Graf <[email protected]>
Ah, nice. I'll drop my patch then and just apply this one to ppc-next for the time being.
Alex