]> arthur.barton.de Git - netatalk.git/commitdiff
Back-port from HEAD: Warning fixes.
authorsrittau <srittau>
Mon, 14 Jan 2002 02:53:24 +0000 (02:53 +0000)
committersrittau <srittau>
Mon, 14 Jan 2002 02:53:24 +0000 (02:53 +0000)
etc/afpd/afp_dsi.c

index b5e67301b3077080e5e147806ca6daed1b585521..64443560227d2872e20a41225f3f8eac3c3ea6d0 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: afp_dsi.c,v 1.9.2.1 2001-12-03 05:01:03 jmarcus Exp $
+ * $Id: afp_dsi.c,v 1.9.2.2 2002-01-14 02:53:24 srittau Exp $
  *
  * Copyright (c) 1999 Adrian Sun (asun@zoology.washington.edu)
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
@@ -226,7 +226,7 @@ void afp_over_dsi(AFPObj *obj)
             function = (u_char) dsi->commands[0];
             if (obj->options.flags & OPTION_DEBUG ) {
                 printf("command: %d\n", function);
-                bprint(dsi->commands, dsi->cmdlen);
+                bprint((char *) dsi->commands, dsi->cmdlen);
             }
 
             /* send off an afp command. in a couple cases, we take advantage
@@ -252,7 +252,7 @@ void afp_over_dsi(AFPObj *obj)
 
             if (obj->options.flags & OPTION_DEBUG ) {
                 printf( "reply: %d, %d\n", err, dsi->clientID);
-                bprint(dsi->data, dsi->datalen);
+                bprint((char *) dsi->data, dsi->datalen);
             }
 
             if (!dsi_cmdreply(dsi, err)) {
@@ -265,7 +265,7 @@ void afp_over_dsi(AFPObj *obj)
             function = (u_char) dsi->commands[0];
             if ( obj->options.flags & OPTION_DEBUG ) {
                 printf("(write) command: %d, %d\n", function, dsi->cmdlen);
-                bprint(dsi->commands, dsi->cmdlen);
+                bprint((char *) dsi->commands, dsi->cmdlen);
             }
 
             if ( afp_switch[ function ] != NULL ) {
@@ -282,7 +282,7 @@ void afp_over_dsi(AFPObj *obj)
 
             if (obj->options.flags & OPTION_DEBUG ) {
                 printf( "(write) reply code: %d, %d\n", err, dsi->clientID);
-                bprint(dsi->data, dsi->datalen);
+                bprint((char *) dsi->data, dsi->datalen);
             }
 
             if (!dsi_wrtreply(dsi, err)) {