From e34969bb8078c54e7c7111b39f39522cf18b1034 Mon Sep 17 00:00:00 2001 From: didg Date: Mon, 13 Nov 2006 15:36:28 +0000 Subject: [PATCH] Dec Tru64 V4.0F compilation fix, from Burkhard Schmidt --- etc/afpd/file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/afpd/file.c b/etc/afpd/file.c index 6adafe17..f0e055ef 100644 --- a/etc/afpd/file.c +++ b/etc/afpd/file.c @@ -1,5 +1,5 @@ /* - * $Id: file.c,v 1.104 2006-09-29 09:44:58 didg Exp $ + * $Id: file.c,v 1.105 2006-11-13 15:36:28 didg Exp $ * * Copyright (c) 1990,1993 Regents of The University of Michigan. * All Rights Reserved. See COPYRIGHT. @@ -111,7 +111,7 @@ void *get_finderinfo(const struct vol *vol, const char *upath, struct adouble *a u_int16_t ashort; ashort = htons(FINDERINFO_INVISIBLE); - memcpy(data + FINDERINFO_FRFLAGOFF, &ashort, sizeof(ashort)); + memcpy((char *)data + FINDERINFO_FRFLAGOFF, &ashort, sizeof(ashort)); } } /** Only enter if no appledouble information and no finder information found. */ -- 2.39.2