git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
fcdc120
)
rxgen-xdr-call-stifle-warnings-20030513
author
Nathan Neulinger
<nneul@umr.edu>
Tue, 13 May 2003 05:27:59 +0000 (
05:27
+0000)
committer
Derrick Brashear
<shadow@dementia.org>
Tue, 13 May 2003 05:27:59 +0000 (
05:27
+0000)
FIXES 1349
eliminate some warnings in generated code from rxgen
src/rxgen/rpc_cout.c
patch
|
blob
|
history
diff --git
a/src/rxgen/rpc_cout.c
b/src/rxgen/rpc_cout.c
index
8ea14af
..
3caf4a1
100644
(file)
--- a/
src/rxgen/rpc_cout.c
+++ b/
src/rxgen/rpc_cout.c
@@
-160,13
+160,13
@@
static void print_ifarg(char *arg)
static void print_ifsizeof(char *prefix, char *type)
{
if (streq(type, "bool")) {
- f_print(fout, ", sizeof(bool_t), xdr_bool");
+ f_print(fout, ", sizeof(bool_t), (xdrproc_t) xdr_bool");
} else {
f_print(fout, ", sizeof(");
if (undefined(type) && prefix) {
f_print(fout, "%s ", prefix);
}
- f_print(fout, "%s), xdr_%s", type, type);
+ f_print(fout, "%s), (xdrproc_t) xdr_%s", type, type);
}
}