diff options
author | Harshavardhana <harsha@harshavardhana.net> | 2014-04-25 16:08:09 -0700 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2014-04-25 23:01:23 -0700 |
commit | 447f4dec70a8103fc188024ea76447425cf14c60 (patch) | |
tree | 099c62ccd8d975bb76adf7043728f848cbd3028d /rpc/xdr/src/rpc-common-xdr.x | |
parent | 8647ea41d42c35d1e74232c37b898708dee315c4 (diff) |
rpcgen: 'hyper' is 64bit undefined on Darwin use quad_t
"9819fcedf10f1430d4969c86e6df4dfe975b7dcf" After the commit i
observed that we never used "hyper" as defined in .x previously
in the .[c,h] files.
Change-Id: I26152141bca6e789c4a3b3158fffe0a65e4b0878
BUG: 1090807
Signed-off-by: Harshavardhana <harsha@harshavardhana.net>
Reviewed-on: http://review.gluster.org/7566
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'rpc/xdr/src/rpc-common-xdr.x')
-rw-r--r-- | rpc/xdr/src/rpc-common-xdr.x | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/rpc/xdr/src/rpc-common-xdr.x b/rpc/xdr/src/rpc-common-xdr.x index ca28f38b5db..ee66500e032 100644 --- a/rpc/xdr/src/rpc-common-xdr.x +++ b/rpc/xdr/src/rpc-common-xdr.x @@ -10,7 +10,7 @@ struct auth_glusterfs_parms_v2 { }; struct auth_glusterfs_parms { - unsigned hyper lk_owner; + u_quad_t lk_owner; unsigned int pid; unsigned int uid; unsigned int gid; @@ -19,20 +19,20 @@ struct auth_glusterfs_parms { }; struct gf_dump_req { - unsigned hyper gfs_id; + u_quad_t gfs_id; }; struct gf_prog_detail { string progname<>; - unsigned hyper prognum; - unsigned hyper progver; + u_quad_t prognum; + u_quad_t progver; struct gf_prog_detail *next; }; struct gf_dump_rsp { - unsigned hyper gfs_id; + u_quad_t gfs_id; int op_ret; int op_errno; struct gf_prog_detail *prog; |