rasmus Thu Mar 17 11:26:24 2005 EDT Modified files: /php-src/main/streams cast.c Log: Silence a warning here on systems where off_t is a long long. http://cvs.php.net/diff.php/php-src/main/streams/cast.c?r1=1.10&r2=1.11&ty=u Index: php-src/main/streams/cast.c diff -u php-src/main/streams/cast.c:1.10 php-src/main/streams/cast.c:1.11 --- php-src/main/streams/cast.c:1.10 Thu Jan 8 03:17:58 2004 +++ php-src/main/streams/cast.c Thu Mar 17 11:26:24 2005 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: cast.c,v 1.10 2004/01/08 08:17:58 andi Exp $ */ +/* $Id: cast.c,v 1.11 2005/03/17 16:26:24 rasmus Exp $ */ #define _GNU_SOURCE #include "php.h" @@ -267,7 +267,7 @@ php_error_docref(NULL TSRMLS_CC, E_WARNING, "%ld bytes of buffered data lost during stream conversion!", - stream->writepos - stream->readpos); + (long)(stream->writepos - stream->readpos)); } if (castas == PHP_STREAM_AS_STDIO && ret)
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php