cast the pointer to char * for all calls to bzero
[deb_libnfs.git] / lib / init.c
index 5663f250123ef1b6bccf24b0b84feae768083961..d83e3ed9a6ccd32452000785d9d2de14725284c9 100644 (file)
@@ -37,7 +37,7 @@ struct rpc_context *rpc_init_context(void)
        if (rpc == NULL) {
                return NULL;
        }
-       bzero(rpc, sizeof(struct rpc_context));
+       bzero((char *)rpc, sizeof(struct rpc_context));
 
        rpc->encodebuflen = 65536;
        rpc->encodebuf = malloc(rpc->encodebuflen);