From: Alexandra Ellwood Date: Fri, 9 Jun 2006 21:46:24 +0000 (+0000) Subject: cci_msg_retrieve_blob(): changed argument 4 from void** to char** X-Git-Tag: krb5-1.6-alpha1~274^2~12 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2ab8b381a83da20415f8b6f52b329154276c59c2;p=krb5.git cci_msg_retrieve_blob(): changed argument 4 from void** to char** to suppress the warnings from gcc. git-svn-id: svn://anonsvn.mit.edu/krb5/branches/ccapi@18095 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/ccapi/common/msg.c b/src/lib/ccapi/common/msg.c index 8c8cc29de..789fc8746 100644 --- a/src/lib/ccapi/common/msg.c +++ b/src/lib/ccapi/common/msg.c @@ -567,7 +567,7 @@ cci_msg_unflatten(void *flat, int flat_len, cc_msg_t** msgpp) } cc_int32 -cci_msg_retrieve_blob(cc_msg_t* msg, cc_uint32 blob_offset, cc_uint32 blob_len, void **blobp) +cci_msg_retrieve_blob(cc_msg_t* msg, cc_uint32 blob_offset, cc_uint32 blob_len, char **blobp) { cc_generic_iterate_t* gen_iterator; cc_generic_list_node_t* gen_node; diff --git a/src/lib/ccapi/include/msg.h b/src/lib/ccapi/include/msg.h index 182ebc161..79b9a7f72 100644 --- a/src/lib/ccapi/include/msg.h +++ b/src/lib/ccapi/include/msg.h @@ -139,7 +139,7 @@ cc_int32 cci_msg_flatten(cc_msg_t* msg, void **); cc_int32 cci_msg_calc_magic(void *flat, int flat_len, cc_uint32 * sizep); cc_int32 cci_msg_verify(void* flat, int flat_len, cc_uint32 * sizep); cc_int32 cci_msg_unflatten(void *flat, int flat_len, cc_msg_t** msgpp); -cc_int32 cci_msg_retrieve_blob(cc_msg_t* msg, cc_uint32 blob_offset, cc_uint32 blob_len, void **); +cc_int32 cci_msg_retrieve_blob(cc_msg_t* msg, cc_uint32 blob_offset, cc_uint32 blob_len, char **); cc_int32 cci_msg_destroy(cc_msg_t* msg); /* Add missing byte swapping macros for 64-bit values */