In k5-int.h, fix make_data to work with C++
authorGreg Hudson <ghudson@mit.edu>
Sun, 1 Nov 2009 15:55:44 +0000 (15:55 +0000)
committerGreg Hudson <ghudson@mit.edu>
Sun, 1 Nov 2009 15:55:44 +0000 (15:55 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23115 dc483132-0cff-0310-8789-dd5450dbe970

src/include/k5-int.h

index 2bdcbf6becc673855a45804e24bd0ec2c5bfabcd..0a38692e9fdb4ad94528543b2dcd64f198748903 100644 (file)
@@ -2942,7 +2942,7 @@ make_data(void *data, unsigned int len)
     krb5_data d;
 
     d.magic = KV5M_DATA;
-    d.data = data;
+    d.data = (char *) data;
     d.length = len;
     return d;
 }