Skip to content

Commit

Permalink
Fix cast warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
dgarske committed Apr 1, 2024
1 parent e91f3d9 commit 245b4e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tpm2_wrap.c
Original file line number Diff line number Diff line change
Expand Up @@ -4523,7 +4523,7 @@ int wolfTPM2_NVReadCert(WOLFTPM2_DEV* dev, TPM_HANDLE handle,

/* Perform read of NV without auth password */
nv.handle.hndl = handle;
rc = wolfTPM2_NVReadAuth(dev, &nv, handle, buffer, len, 0);
rc = wolfTPM2_NVReadAuth(dev, &nv, handle, buffer, (word32*)len, 0);
return rc;
}

Expand Down

0 comments on commit 245b4e6

Please sign in to comment.