X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fmedia%2FGIFMetadataExtractor.php;h=591ccf191fd0200c0c4a85483c6b5409ead5564b;hb=f6aae4d1265755d101af9dabe9b46332f31b093c;hp=a26539a87a4e033a4661612e178ebe67e44262f8;hpb=a2c8c2969420a0f150c03f76e3a0bf9028fcda43;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/media/GIFMetadataExtractor.php b/includes/media/GIFMetadataExtractor.php index a26539a87a..591ccf191f 100644 --- a/includes/media/GIFMetadataExtractor.php +++ b/includes/media/GIFMetadataExtractor.php @@ -264,7 +264,7 @@ class GIFMetadataExtractor { */ static function readGCT( $fh, $bpp ) { if ( $bpp > 0 ) { - $max = pow( 2, $bpp ); + $max = 2 ** $bpp; for ( $i = 1; $i <= $max; ++$i ) { fread( $fh, 3 ); }