From 5b9776d381e4d9a6dd49b768a21d7ba0d6150b1f Mon Sep 17 00:00:00 2001 From: srittau Date: Thu, 12 Jul 2001 23:18:12 +0000 Subject: [PATCH] Corrected one field size (u_int32_t instead of int - may differ on 64bit archs). --- etc/afpd/file.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/afpd/file.c b/etc/afpd/file.c index 42dfea89..5506c4ec 100644 --- a/etc/afpd/file.c +++ b/etc/afpd/file.c @@ -1,5 +1,5 @@ /* - * $Id: file.c,v 1.23 2001-07-10 13:38:13 rufustfirefly Exp $ + * $Id: file.c,v 1.24 2001-07-12 23:18:12 srittau Exp $ * * Copyright (c) 1990,1993 Regents of The University of Michigan. * All Rights Reserved. See COPYRIGHT. @@ -139,8 +139,8 @@ int getfilparams(vol, bitmap, path, dir, st, buf, buflen ) break; case FILPBIT_PDID : - memcpy(data, &dir->d_did, sizeof( int )); - data += sizeof( int ); + memcpy(data, &dir->d_did, sizeof( u_int32_t )); + data += sizeof( u_int32_t ); break; case FILPBIT_CDATE : -- 2.39.2