Always cast input to string in wfBaseConvert
authorKevin Israel <pleasestand@live.com>
Tue, 19 Feb 2013 09:31:33 +0000 (04:31 -0500)
committerKevin Israel <pleasestand@live.com>
Tue, 19 Feb 2013 09:31:33 +0000 (04:31 -0500)
commit1d41a94cff8f34ac6b25baaff06aeb8f3792b507
treedddf6159e85f863929483c40ad601fc71ffb93e9
parentf288ae3290750b8718d15bb535a8403dfbe9559a
Always cast input to string in wfBaseConvert

Fixes a regression caused by I841717be: IP::toHex('128.0.0.0')
was broken on 32-bit systems with the GMP extension installed.

Change-Id: I0c9a4ae771668e005355e381de4065d73c261460
includes/GlobalFunctions.php