From 5382e9f9adadd0851615e697876134e3a2c8e21e Mon Sep 17 00:00:00 2001 From: Stephan Wiesand Date: Fri, 14 Mar 2014 14:44:54 +0100 Subject: [PATCH] bos: Change the remaining use of ktc_to_charptr to char cast This is a 1.6 only change to complement the preceding commit. On the master branch, this modification is part of commit a9b8fd81bf14c04d33113e9e4df4e1ca7573e49d which otherwise comprises changes not foreseen to be applied to 1.6. Change-Id: I44678c2fb15f136d70f2d38a3996ad3d7d0455d5 Reviewed-on: http://gerrit.openafs.org/10891 Reviewed-by: D Brashear Tested-by: BuildBot Reviewed-by: Benjamin Kaduk Reviewed-by: Andrew Deason Reviewed-by: Stephan Wiesand --- src/bozo/bos_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bozo/bos_util.c b/src/bozo/bos_util.c index 391d17fe0..6879c9b5f 100644 --- a/src/bozo/bos_util.c +++ b/src/bozo/bos_util.c @@ -125,7 +125,7 @@ main(int argc, char **argv) exit(1); } des_string_to_key(buf, ktc_to_cblockptr(&tkey)); - code = afsconf_AddKey(tdir, kvno, ktc_to_charptr(&tkey), 0); + code = afsconf_AddKey(tdir, kvno, (char *)(&tkey), 0); if (code) { printf("bos_util: failed to set key, code %d.\n", code); exit(1); -- 2.39.5