From 447f4dec70a8103fc188024ea76447425cf14c60 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Fri, 25 Apr 2014 16:08:09 -0700 Subject: 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 Reviewed-on: http://review.gluster.org/7566 Tested-by: Gluster Build System Reviewed-by: Anand Avati --- rpc/xdr/src/rpc-common-xdr.x | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'rpc/xdr/src/rpc-common-xdr.x') 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; -- cgit