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:
parent
0b4c7c65f8
commit
8a2306c7ed
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue