b64: don't downcast to signed char.

fixes assert on win32.