aboutsummaryrefslogtreecommitdiff
path: root/migration/qemu-file.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2023-05-04 13:38:39 +0200
committerJuan Quintela <quintela@redhat.com>2023-05-05 02:01:59 +0200
commit61abf1ebdcddafdb62ba6784e04c573ae6beace6 (patch)
treeccef55c399d6db17f8b383257aff86024d9570f8 /migration/qemu-file.h
parentac7d25b8163cfd16604cd7d92135dd14713d084b (diff)
downloadqemu-61abf1ebdcddafdb62ba6784e04c573ae6beace6.zip
qemu-61abf1ebdcddafdb62ba6784e04c573ae6beace6.tar.gz
qemu-61abf1ebdcddafdb62ba6784e04c573ae6beace6.tar.bz2
qemu-file: Make total_transferred an uint64_t
Change all the functions that use it. It was already passed as uint64_t. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-Id: <20230504113841.23130-8-quintela@redhat.com>
Diffstat (limited to 'migration/qemu-file.h')
-rw-r--r--migration/qemu-file.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/migration/qemu-file.h b/migration/qemu-file.h
index d16cd50..4f26bf6 100644
--- a/migration/qemu-file.h
+++ b/migration/qemu-file.h
@@ -83,7 +83,7 @@ int qemu_fclose(QEMUFile *f);
*
* Returns: the total bytes transferred
*/
-int64_t qemu_file_total_transferred(QEMUFile *f);
+uint64_t qemu_file_total_transferred(QEMUFile *f);
/*
* qemu_file_total_transferred_fast:
@@ -95,7 +95,7 @@ int64_t qemu_file_total_transferred(QEMUFile *f);
*
* Returns: the total bytes transferred and queued
*/
-int64_t qemu_file_total_transferred_fast(QEMUFile *f);
+uint64_t qemu_file_total_transferred_fast(QEMUFile *f);
/*
* put_buffer without copying the buffer.