diff options
author | Kalle Sommer Nielsen <kalle@php.net> | 2009-05-19 18:08:13 +0000 |
---|---|---|
committer | Kalle Sommer Nielsen <kalle@php.net> | 2009-05-19 18:08:13 +0000 |
commit | da62d8d02e7d748888617c607e2eb81cdbd965b7 (patch) | |
tree | 4fcca3658bad2b77a16192d8fdd4f1a506e6c094 /ext/curl/streams.c | |
parent | 47add227a9194a08b7340cbd40507292bb3f5b73 (diff) | |
download | php-git-da62d8d02e7d748888617c607e2eb81cdbd965b7.tar.gz |
Fixed compiler warnings
# Is it intended that curl_progress should cast to long rather than keeping the
# double? Or doesn't it matter?
Diffstat (limited to 'ext/curl/streams.c')
-rw-r--r-- | ext/curl/streams.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/curl/streams.c b/ext/curl/streams.c index 5b21e7fd7f..05e00fcc4d 100644 --- a/ext/curl/streams.c +++ b/ext/curl/streams.c @@ -132,7 +132,7 @@ static int on_progress_avail(php_stream *stream, double dltotal, double dlnow, d /* our notification system only works in a single direction; we should detect which * direction is important and use the correct values in this call */ - php_stream_notify_progress(stream->context, dlnow, dltotal); + php_stream_notify_progress(stream->context, (size_t) dlnow, (size_t) dltotal); return 0; } |