aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-06-19 03:20:03 +0000
committerlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-06-19 03:20:03 +0000
commitf81bb8593ab45e072547369c13935460e1ebe753 (patch)
treef98b6d5bf4c3d48dd54db386c29d39ab26e1463e /util-linux
parentca40cc4d80863b7520492467135ff185b8322459 (diff)
downloadbusybox-w32-f81bb8593ab45e072547369c13935460e1ebe753.tar.gz
busybox-w32-f81bb8593ab45e072547369c13935460e1ebe753.tar.bz2
busybox-w32-f81bb8593ab45e072547369c13935460e1ebe753.zip
Make some 64 bit warnings go away on x86-64.
git-svn-id: svn://busybox.net/trunk/busybox@15429 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/nfsmount.c12
-rw-r--r--util-linux/nfsmount.h2
2 files changed, 3 insertions, 11 deletions
diff --git a/util-linux/nfsmount.c b/util-linux/nfsmount.c
index d46cf698a..705975d29 100644
--- a/util-linux/nfsmount.c
+++ b/util-linux/nfsmount.c
@@ -3,15 +3,7 @@
3 * nfsmount.c -- Linux NFS mount 3 * nfsmount.c -- Linux NFS mount
4 * Copyright (C) 1993 Rick Sladkey <jrs@world.std.com> 4 * Copyright (C) 1993 Rick Sladkey <jrs@world.std.com>
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify 6 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2, or (at your option)
9 * any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 * 7 *
16 * Wed Feb 8 12:51:48 1995, biro@yggdrasil.com (Ross Biro): allow all port 8 * Wed Feb 8 12:51:48 1995, biro@yggdrasil.com (Ross Biro): allow all port
17 * numbers to be specified on the command line. 9 * numbers to be specified on the command line.
@@ -965,7 +957,7 @@ xdr_mountres3_ok (XDR *xdrs, mountres3_ok *objp)
965{ 957{
966 if (!xdr_fhandle3 (xdrs, &objp->fhandle)) 958 if (!xdr_fhandle3 (xdrs, &objp->fhandle))
967 return FALSE; 959 return FALSE;
968 if (!xdr_array (xdrs, (char **)&objp->auth_flavours.auth_flavours_val, (unsigned int *) &objp->auth_flavours.auth_flavours_len, ~0, 960 if (!xdr_array (xdrs, &(objp->auth_flavours.auth_flavours_val), &(objp->auth_flavours.auth_flavours_len), ~0,
969 sizeof (int), (xdrproc_t) xdr_int)) 961 sizeof (int), (xdrproc_t) xdr_int))
970 return FALSE; 962 return FALSE;
971 return TRUE; 963 return TRUE;
diff --git a/util-linux/nfsmount.h b/util-linux/nfsmount.h
index 78a1bdfc5..60e2019b4 100644
--- a/util-linux/nfsmount.h
+++ b/util-linux/nfsmount.h
@@ -91,7 +91,7 @@ struct mountres3_ok {
91 fhandle3 fhandle; 91 fhandle3 fhandle;
92 struct { 92 struct {
93 unsigned int auth_flavours_len; 93 unsigned int auth_flavours_len;
94 int *auth_flavours_val; 94 char *auth_flavours_val;
95 } auth_flavours; 95 } auth_flavours;
96}; 96};
97typedef struct mountres3_ok mountres3_ok; 97typedef struct mountres3_ok mountres3_ok;