summaryrefslogtreecommitdiffstats
path: root/security/nss/lib/util/secitem.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/nss/lib/util/secitem.c')
-rw-r--r--security/nss/lib/util/secitem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/nss/lib/util/secitem.c b/security/nss/lib/util/secitem.c
index 1e505a9af..cd6996178 100644
--- a/security/nss/lib/util/secitem.c
+++ b/security/nss/lib/util/secitem.c
@@ -76,10 +76,10 @@ loser:
}
SECStatus
-SECITEM_MakeItem(PLArenaPool *arena, SECItem *dest, unsigned char *data,
+SECITEM_MakeItem(PLArenaPool *arena, SECItem *dest, const unsigned char *data,
unsigned int len)
{
- SECItem it = { siBuffer, data, len };
+ SECItem it = { siBuffer, (unsigned char *)data, len };
return SECITEM_CopyItem(arena, dest, &it);
}