Merge branch 'master' into win32-3
[deb_libnfs.git] / lib / init.c
index d421797f2c398ecec47fd4f5441042a5526e83a7..a247787d4dfa364b17b80bbae9a6f1d8ce3177dd 100644 (file)
@@ -40,7 +40,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);