summaryrefslogtreecommitdiffstats
path: root/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'st.c')
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index c71fa06..1307fdf 100644
--- a/st.c
+++ b/st.c
@@ -367,7 +367,7 @@ static const char base64_digits[] = {
367char 367char
368base64dec_getc(const char **src) 368base64dec_getc(const char **src)
369{ 369{
370 while (**src && !isprint(**src)) 370 while (**src && !isprint((unsigned char)**src))
371 (*src)++; 371 (*src)++;
372 return **src ? *((*src)++) : '='; /* emulate padding if string ends */ 372 return **src ? *((*src)++) : '='; /* emulate padding if string ends */
373} 373}