summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorfox <[email protected]>2021-12-01 10:52:12 +0300
committerfox <[email protected]>2021-12-01 10:52:12 +0300
commita72e24343bddbee4aa2b354aabd91b55e33cd71e (patch)
treecd3134c15776e6cef62205c0e382bd2ed40d0de6 /lib
parentdf7b2e79849419fcc278c0549fdf10c094991558 (diff)
parent72e21f89ce2465fafc08a92dc2d216b55f355f28 (diff)
Merge pull request 'Fixes for php 8.1 compatibility' (#56) from magicDave/tt-rss:php8.1-fixes into master
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/56
Diffstat (limited to 'lib')
-rw-r--r--lib/jimIcon.php2
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,