Author: Aaron M. Ucko <[email protected]>
Description:
 Allowing trousers to build successfully on amd64, and presumably also
other 64-bit architectures (Closes: #457400).

diff -Naurp trousers.orig/src/tspi/tspi_nv.c trousers/src/tspi/tspi_nv.c
--- trousers.orig/src/tspi/tspi_nv.c    2009-08-18 20:35:41.000000000 +0000
+++ trousers/src/tspi/tspi_nv.c 2009-08-23 08:04:32.000000000 +0000
@@ -217,7 +217,7 @@ Tspi_NV_ReleaseSpace(TSS_HNVSTORE hNvsto
 
        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;

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
TrouSerS-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/trousers-tech

Reply via email to