Index: src/tspi/tspi_nv.c |
diff --git a/src/tspi/tspi_nv.c b/src/tspi/tspi_nv.c |
index b4d3ad4125dce204846a70041ee58a6ec728a0b6..4789cb2679ac2f2d6517f74167681ee5d709c233 100644 |
--- a/src/tspi/tspi_nv.c |
+++ b/src/tspi/tspi_nv.c |
@@ -217,7 +217,7 @@ Tspi_NV_ReleaseSpace(TSS_HNVSTORE hNvstore) /* in */ |
nv_data_public.tag = TPM_TAG_NV_DATA_PUBLIC; |
- if ((result = obj_nvstore_create_pcrshortinfo(hNvstore, (TSS_HPCRS)0, &pPCR_len, &pPCR))) |
+ if ((result = obj_nvstore_create_pcrshortinfo(hNvstore, NULL_HPCRS, &pPCR_len, &pPCR))) |
return result; |
NVPublic_DataSize = 0; |