lib: fixed signed extension bug in base64 encoder
commitbb079c374d98a1561c977b7da39260e78895821d
authorChris Frey <cdfrey@foursquare.net>
Mon, 19 Apr 2010 22:49:23 +0000 (19 18:49 -0400)
committerChris Frey <cdfrey@foursquare.net>
Mon, 19 Apr 2010 22:57:57 +0000 (19 18:57 -0400)
treec59c7d5efd64d11b0daf48910dde6c8630bfb081
parent6369ad4d6a94250ded08600177be6ff665f71b3f
lib: fixed signed extension bug in base64 encoder

The input of signed chars was being converted to signed ints, which
caused 0xFF to look like an EOF and then truncate LDIF output.
src/base64.cc