r3902: fix compiler warnings
authorStefan Metzmacher <metze@samba.org>
Mon, 22 Nov 2004 08:15:27 +0000 (08:15 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:06:03 +0000 (13:06 -0500)
metze
(This used to be commit ce7686ac3e15b0d52ef01bd8bd773641c8ce2e35)

source4/libcli/raw/raweas.c

index 5bd90766aa7c7b7d28e3b46ff6e90aaf59696fe6..e5f81f5eea048ece76917dc2a8f658b7ed2b721c 100644 (file)
@@ -57,7 +57,7 @@ uint_t ea_list_size_chained(uint_t num_eas, struct ea_struct *eas)
   put a ea_list into a pre-allocated buffer - buffer must be at least
   of size ea_list_size()
 */
-void ea_put_list(char *data, uint_t num_eas, struct ea_struct *eas)
+void ea_put_list(void *data, uint_t num_eas, struct ea_struct *eas)
 {
        int i;
        uint32_t ea_size;
@@ -83,7 +83,7 @@ void ea_put_list(char *data, uint_t num_eas, struct ea_struct *eas)
   put a chained ea_list into a pre-allocated buffer - buffer must be
   at least of size ea_list_size()
 */
-void ea_put_list_chained(char *data, uint_t num_eas, struct ea_struct *eas)
+void ea_put_list_chained(void *data, uint_t num_eas, struct ea_struct *eas)
 {
        int i;