From a201e10ee024f03fb6aad0ec1069cc4da72a9ac5 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 1 Dec 2021 13:37:35 +0300 Subject: Revert "various fixes vor php 8.1 compatibility" This reverts commit 14027ae04e4aee6cf1c3a4ff9a390ec266c0fb09. --- lib/jimIcon.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/jimIcon.php b/lib/jimIcon.php index eb9a51458..eaa768272 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, (int) $a); + return imagecolorallocatealpha($img, $r, $g, $b, $a); } // Given a string with the contents of an .ICO, -- cgit v1.2.3