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>
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user