1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/security/pkcs11-dump/files/patch-pkcs11-dump.cpp
2018-01-23 10:48:49 +00:00

12 lines
355 B
C++

--- pkcs11-dump.cpp.orig 2018-01-23 10:46:55 UTC
+++ pkcs11-dump.cpp
@@ -1136,7 +1136,7 @@ Dump (
for (int j=0;attrdescAttributes[j].nId!=-1;j++) {
char Buffer[10*1024];
CK_ATTRIBUTE t[] = {
- {attrdescAttributes[j].nId, Buffer, sizeof (Buffer)}
+ {(CK_ATTRIBUTE_TYPE)attrdescAttributes[j].nId, Buffer, sizeof (Buffer)}
};
if (