diff options
author | Rasmus Lerdorf <rasmus@php.net> | 2005-03-17 16:26:24 +0000 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 2005-03-17 16:26:24 +0000 |
commit | 00832b763f98974ed37382bd7880e1e013aa777d (patch) | |
tree | 2a32ad9beedbeac457f54b05d95446355abe0570 | |
parent | 9c2c04b580c9f5605263392eefdafd45563e2c57 (diff) | |
download | php-git-00832b763f98974ed37382bd7880e1e013aa777d.tar.gz |
Silence a warning here on systems where off_t is a long long.
-rw-r--r-- | main/streams/cast.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |