repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into win32-3
[deb_libnfs.git]
/
lib
/
init.c
diff --git
a/lib/init.c
b/lib/init.c
index d421797f2c398ecec47fd4f5441042a5526e83a7..a247787d4dfa364b17b80bbae9a6f1d8ce3177dd 100644
(file)
--- a/
lib/init.c
+++ b/
lib/init.c
@@
-40,7
+40,7
@@
struct rpc_context *rpc_init_context(void)
if (rpc == NULL) {
return NULL;
}
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);
rpc->encodebuflen = 65536;
rpc->encodebuf = malloc(rpc->encodebuflen);