aboutsummaryrefslogtreecommitdiff
path: root/target-i386/arch_dump.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-06-07 08:48:09 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2012-06-07 09:19:31 +0200
commit4720bd050655a56b4b048d8856a03ae187481a7f (patch)
tree4bcb80b056b08a1282bff2a1177957fc4cc5ab74 /target-i386/arch_dump.c
parentdb2077692ffee1f87a1f4af0cf275c33aba6c867 (diff)
dump: change cpu_get_note_size to return ssize_t
So that it can use the same prototype in both cases. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target-i386/arch_dump.c')
-rw-r--r--target-i386/arch_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/arch_dump.c b/target-i386/arch_dump.c
index 135d855c4a..7c2b514383 100644
--- a/target-i386/arch_dump.c
+++ b/target-i386/arch_dump.c
@@ -415,7 +415,7 @@ int cpu_get_dump_info(ArchDumpInfo *info)
return 0;
}
-size_t cpu_get_note_size(int class, int machine, int nr_cpus)
+ssize_t cpu_get_note_size(int class, int machine, int nr_cpus)
{
int name_size = 5; /* "CORE" or "QEMU" */
size_t elf_note_size = 0;