Commit 566a80f05be829ad57c1775ae13503ab04c7aa9a

Con Kolivas 2013-09-14T10:13:06

Cast -1 to (char) to cope with different default char types on ARM.