summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2005-03-17 16:26:24 (GMT)
committerRasmus Lerdorf <rasmus@php.net>2005-03-17 16:26:24 (GMT)
commit00832b763f98974ed37382bd7880e1e013aa777d (patch)
tree2a32ad9beedbeac457f54b05d95446355abe0570 /main
parent9c2c04b580c9f5605263392eefdafd45563e2c57 (diff)
downloadphp-00832b763f98974ed37382bd7880e1e013aa777d.tar.gz
Silence a warning here on systems where off_t is a long long.
Diffstat (limited to 'main')
-rw-r--r--main/streams/cast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/streams/cast.c b/main/streams/cast.c
index 1a1d991..46e885b 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)