]> arthur.barton.de Git - netatalk.git/commitdiff
Dec Tru64 V4.0F compilation fix, from Burkhard Schmidt
authordidg <didg>
Mon, 13 Nov 2006 15:36:28 +0000 (15:36 +0000)
committerdidg <didg>
Mon, 13 Nov 2006 15:36:28 +0000 (15:36 +0000)
etc/afpd/file.c

index 6adafe1798d23f29c8d31da16a5a163bc0dac4d5..f0e055ef6ebbc0da19c24e6d18f4528e9dc1c0d4 100644 (file)
@@ -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. */