diff options
author | David Edler <[email protected]> | 2021-11-30 21:50:09 +0100 |
---|---|---|
committer | David Edler <[email protected]> | 2021-11-30 21:50:09 +0100 |
commit | 14027ae04e4aee6cf1c3a4ff9a390ec266c0fb09 (patch) | |
tree | ded384a94570efb607e98a64bacab63f6b24ad39 /lib | |
parent | df7b2e79849419fcc278c0549fdf10c094991558 (diff) |
various fixes vor php 8.1 compatibility
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, |