Skip to content

Commit 8548a1b

Browse files
committed
Merge branch 'PHP-7.4'
* PHP-7.4: Fix #78642: Wrong libiconv version displayed
2 parents 1c0ebef + 346be2c commit 8548a1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/iconv/iconv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ PHP_MINIT_FUNCTION(miconv)
219219
{
220220
static char buf[16];
221221
snprintf(buf, sizeof(buf), "%d.%d",
222-
((_libiconv_version >> 8) & 0x0f), (_libiconv_version & 0x0f));
222+
_libiconv_version >> 8, _libiconv_version & 0xff);
223223
version = buf;
224224
}
225225
#elif HAVE_GLIBC_ICONV

0 commit comments

Comments
 (0)