diff --git a/firmware/lib/tpm2_lite/marshaling.c b/firmware/lib/tpm2_lite/marshaling.c index 61f726c4f0..73285c3d15 100644 --- a/firmware/lib/tpm2_lite/marshaling.c +++ b/firmware/lib/tpm2_lite/marshaling.c @@ -85,7 +85,7 @@ static uint16_t unmarshal_u16(void **buffer, int *buffer_space) return value; } -static uint16_t unmarshal_u32(void **buffer, int *buffer_space) +static uint32_t unmarshal_u32(void **buffer, int *buffer_space) { uint32_t value;