summaryrefslogtreecommitdiff
path: root/lib/jimIcon.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2022-03-10 14:45:44 +0300
committerAndrew Dolgov <[email protected]>2022-03-10 14:45:44 +0300
commit1703850215a282a31e9970e28ef8e7d930e4cc27 (patch)
treea2ab101e72aeede18d27484922f74ab99beed801 /lib/jimIcon.php
parent6f14a5b261e597492c99aee6c7e13c51e6254390 (diff)
parent95431890bea57c6fcc3f6198a7a27b1993f3fba4 (diff)
Merge branch 'master' of git.tt-rss.org:fox/tt-rss
Diffstat (limited to 'lib/jimIcon.php')
-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,