[PATCH v2] Security: Keys: Added derived keytype
From: Kirill Marinushkin
Date: Thu Mar 24 2016 - 17:27:15 EST
Resolved derived keytype build warnings for sparc64
Signed-off-by: Kirill Marinushkin <k.marinushkin@xxxxxxxxx>
---
security/keys/derived.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/security/keys/derived.c b/security/keys/derived.c
index 18085ce..8a6ea63 100644
--- a/security/keys/derived.c
+++ b/security/keys/derived.c
@@ -214,7 +214,7 @@ static int parse_options(char **args_str,
}
payload->saltlen = templen;
usalt.data = payload->salt;
- usalt.lenp = &payload->saltlen;
+ usalt.lenp = (size_t*)&payload->saltlen;
break;
case OPT_SHORT_ITER: /* iterations */
--
1.9.1