cvs: /php3/functions ftp.c

From: Date: Sat, 27 Nov 1999 21:00:55 +0000
Subject: cvs: /php3/functions ftp.c
Groups: php.dev 
Request: Send a blank email to php-dev+get-13190@lists.php.net to get a copy of this message
askalski Sat Nov 27 16:00:55 1999 EDT Modified files: /php3/functions ftp.c Log: typecast void* to char* for pointer aritthmetic Index: php3/functions/ftp.c diff -u php3/functions/ftp.c:1.11 php3/functions/ftp.c:1.12 --- php3/functions/ftp.c:1.11 Tue Nov 23 04:34:23 1999 +++ php3/functions/ftp.c Sat Nov 27 16:00:24 1999 @@ -28,7 +28,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: ftp.c,v 1.11 1999/11/23 09:34:23 sas Exp $ */ +/* $Id: ftp.c,v 1.12 1999/11/27 21:00:24 askalski Exp $ */ #include "php.h" @@ -825,7 +825,7 @@ if (sent == -1) return -1; - buf += sent; + buf = (char*) buf + sent; size -= sent; }

« previous php.dev (#13190) next »