From: Rasmus Lerdorf Date: Thu, 17 Mar 2005 16:26:24 +0000 (+0000) Subject: Silence a warning here on systems where off_t is a long long. X-Git-Tag: php-5.0.1b1~774 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=00832b763f98974ed37382bd7880e1e013aa777d;p=php Silence a warning here on systems where off_t is a long long. --- diff --git a/main/streams/cast.c b/main/streams/cast.c index 1a1d99101c..46e885b6d1 100644 --- a/main/streams/cast.c +++ b/main/streams/cast.c @@ -267,7 +267,7 @@ exit_success: 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)