about summary refs log tree commit diff stats
path: root/1.6.c
diff options
context:
space:
mode:
authorphoebos <ben@bvnf.space>2021-07-18 18:52:50 +0100
committerphoebos <ben@bvnf.space>2021-07-18 18:52:50 +0100
commit5f9b81f1de231521d1922abb7026fc230c52b76f (patch)
tree1882b181ac66f847ba18f9425b12a7291c080f6a /1.6.c
parente6a1f14c205782f9ee8580575185cf6e74428bdc (diff)
downloadkandr-5f9b81f1de231521d1922abb7026fc230c52b76f.tar.gz
base64: use unsigned chars
With signed chars, if the highest bit is set, a left-shift causes
the new highest bit to be set also, which makes the result 128 larger
than it should be. This is only a problem for chars > 127, which
excludes ascii. Therefore, this commit *should* make the program work
with unicode and binary data.
Diffstat (limited to '1.6.c')
0 files changed, 0 insertions, 0 deletions