[Phpmyadmin-git] [phpmyadmin/phpmyadmin] 9a5603: Cast unit size value for formatByteDown to float t...

Marc Delisle marc at infomarc.info
Tue Feb 11 00:53:19 CET 2014


  Branch: refs/heads/master
  Home:   https://github.com/phpmyadmin/phpmyadmin
  Commit: 9a5603f9084ec949a6a76cd15ccb1fb165867d2d
      https://github.com/phpmyadmin/phpmyadmin/commit/9a5603f9084ec949a6a76cd15ccb1fb165867d2d
  Author: Jeff Chan <jefftchan at gmail.com>
  Date:   2014-02-10 (Mon, 10 Feb 2014)

  Changed paths:
    M libraries/Util.class.php
    M test/libraries/common/PMA_formatNumberByteDown_test.php

  Log Message:
  -----------
  Cast unit size value for formatByteDown to float to avoid overflow.

Add another test case to formatByteDown which fails on HHVM 2.4

Signed-off-by: Jeff Chan <jefftchan at gmail.com>


  Commit: 9a867d5148d677428495f85fe50504ea41c7cbe2
      https://github.com/phpmyadmin/phpmyadmin/commit/9a867d5148d677428495f85fe50504ea41c7cbe2
  Author: Marc Delisle <marc at infomarc.info>
  Date:   2014-02-10 (Mon, 10 Feb 2014)

  Changed paths:
    M libraries/Util.class.php
    M test/libraries/common/PMA_formatNumberByteDown_test.php

  Log Message:
  -----------
  Merge pull request #918 from jeffchan/format-byte-down-float

Explicitly cast int to float in PMA_Util::formatByteDown()


Compare: https://github.com/phpmyadmin/phpmyadmin/compare/ee629c9544f4...9a867d5148d6


More information about the Git mailing list