diff options
author | fox <[email protected]> | 2022-03-08 20:15:01 +0300 |
---|---|---|
committer | fox <[email protected]> | 2022-03-08 20:15:01 +0300 |
commit | 95431890bea57c6fcc3f6198a7a27b1993f3fba4 (patch) | |
tree | f2659b0783b1398d17a6bc2d2a3b4da1f324ecca /lib | |
parent | a39557451604ba1ad4558f8283f1a13ca76ba5ba (diff) | |
parent | de1e218a835979a2b9b561cd6d5934cdc436dd67 (diff) |
Merge pull request 'Support PHP 8.1 while keeping compatibility with 7.x' (#67) from yan12125/tt-rss:php8.1 into master
Reviewed-on: https://git-gitea.tt-rss.org/fox/tt-rss/pulls/67
Diffstat (limited to 'lib')
-rw-r--r-- | lib/jimIcon.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/jimIcon.php b/lib/jimIcon.php index eaa768272..eb9a51458 100644 --- a/lib/jimIcon.php +++ b/lib/jimIcon.php @@ -31,7 +31,7 @@ class jimIcon { } if ($a != 127) $this->all_transaprent = 0; - return imagecolorallocatealpha($img, $r, $g, $b, $a); + return imagecolorallocatealpha($img, $r, $g, $b, (int) $a); } // Given a string with the contents of an .ICO, |