+2003-01-23 Ion Badulescu <ionut@nicu.badula.org>
+
+ * libamu/mount_fs.c (compute_nfs_args): cast &(fh3.fh3_u.data) and
+ &(fhp->v2.fhs_fh) to (voidp) to avoid warnings on systems that
+ want them to be signed or unsigned char *.
+
2003-01-23 Ion Badulescu <ion@guppy.limebrokerage.com>
* include/am_defs.h: make sure _P1003_1B_VISIBLE is defined when
* SUCH DAMAGE.
*
*
- * $Id: mount_fs.c,v 1.29 2002/12/27 22:44:10 ezk Exp $
+ * $Id: mount_fs.c,v 1.30 2003/01/23 18:29:54 ib42 Exp $
*
*/
* the file handle set in nfs_args be plain bytes, and not
* include the length field.
*/
- NFS_FH_DREF(nap->NFS_FH_FIELD, &(fh3.fh3_u.data));
+ NFS_FH_DREF(nap->NFS_FH_FIELD, (voidp) &(fh3.fh3_u.data));
# else /* not defined(HAVE_NFS_ARGS_T_FHSIZE) || defined(HAVE_NFS_ARGS_T_FH_LEN) */
NFS_FH_DREF(nap->NFS_FH_FIELD, &fh3);
# endif /* not defined(HAVE_NFS_ARGS_T_FHSIZE) || defined(HAVE_NFS_ARGS_T_FH_LEN) */
# endif /* MNT2_NFS_OPT_VER3 */
} else
#endif /* HAVE_FS_NFS3 */
- NFS_FH_DREF(nap->NFS_FH_FIELD, &(fhp->v2.fhs_fh));
+ NFS_FH_DREF(nap->NFS_FH_FIELD, (voidp) &(fhp->v2.fhs_fh));
#ifdef HAVE_NFS_ARGS_T_FHSIZE
# ifdef HAVE_FS_NFS3