repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cast the pointer to char * for all calls to bzero
[deb_libnfs.git]
/
lib
/
init.c
diff --git
a/lib/init.c
b/lib/init.c
index 5663f250123ef1b6bccf24b0b84feae768083961..d83e3ed9a6ccd32452000785d9d2de14725284c9 100644
(file)
--- a/
lib/init.c
+++ b/
lib/init.c
@@
-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);