X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=netatalk.git;a=blobdiff_plain;f=libatalk%2Fvfs%2Funix.c;h=eaf2568698014baf7e38fb52987fab096a9ed54a;hp=eaec6aab576d184eb0566d50dc4c3ae501338b83;hb=98dfba54d8de0dd743774021ff1f129d3717d6c4;hpb=18e92a2d0337ad11c4e4869207a4ab98da4986b0 diff --git a/libatalk/vfs/unix.c b/libatalk/vfs/unix.c index eaec6aab..eaf25686 100644 --- a/libatalk/vfs/unix.c +++ b/libatalk/vfs/unix.c @@ -1,5 +1,5 @@ /* - * $Id: unix.c,v 1.2 2009-10-15 12:06:08 franklahm Exp $ + * $Id: unix.c,v 1.3 2009-10-16 00:40:48 didg Exp $ * * Copyright (c) 1990,1993 Regents of The University of Michigan. * All Rights Reserved. See COPYRIGHT. @@ -160,7 +160,7 @@ int copy_file(const char *src, const char *dst, mode_t mode) int ret = 0; int sfd = -1; int dfd = -1; - size_t cc; + ssize_t cc; char filebuf[8192]; if ((sfd = open(src, O_RDONLY)) < 0) {