]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
bos: Change the remaining use of ktc_to_charptr to char cast
authorStephan Wiesand <stephan.wiesand@desy.de>
Fri, 14 Mar 2014 13:44:54 +0000 (14:44 +0100)
committerStephan Wiesand <stephan.wiesand@desy.de>
Wed, 4 Jun 2014 14:22:08 +0000 (10:22 -0400)
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 <shadow@your-file-system.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/bozo/bos_util.c

index 391d17fe02a7c271c82ea66d06745c59fe99360e..6879c9b5ff2311cd803ff41a8d737fabf766b119 100644 (file)
@@ -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);