tpm_tis: convert uint32_t to size_t

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
Stefan Berger 2017-11-09 20:32:06 -05:00
parent 0b4c7c65f8
commit 8a2306c7ed

View File

@ -974,7 +974,7 @@ static const MemoryRegionOps tpm_tis_memory_ops = {
}, },
}; };
static int tpm_tis_do_startup_tpm(TPMState *s, uint32_t buffersize) static int tpm_tis_do_startup_tpm(TPMState *s, size_t buffersize)
{ {
return tpm_backend_startup_tpm(s->be_driver, buffersize); return tpm_backend_startup_tpm(s->be_driver, buffersize);
} }