christeredvartsen/php-bittorrent — pull request #12 by Haehnchen (2012-12-08 18:57:34+00:00)
Title: we have an integer overflow on big files

torrent files files >2GB dont work because of int overflow on 32bit systems. so we force double type.

before:
Array
(
[announce] => xxxx
[creation date] => 1354913081
[info] => Array
(
[length] => 2147483647
)

[name] => xxxx
[piece length] => 2097152
[pieces] =>

after:
[announce] => xxx
[creation date] => 1354913081
[info] => Array
(
[length] => 14912229613
[name] => xxx
[piece length] => 2097152
[pieces]