aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fns.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fns.c b/src/fns.c
index 76c76c92ba9..23721334f76 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -3653,7 +3653,7 @@ base64_encode_1 (const char *from, char *to, ptrdiff_t length,
3653 c = string_char_and_length ((unsigned char *) from + i, &bytes); 3653 c = string_char_and_length ((unsigned char *) from + i, &bytes);
3654 if (CHAR_BYTE8_P (c)) 3654 if (CHAR_BYTE8_P (c))
3655 c = CHAR_TO_BYTE8 (c); 3655 c = CHAR_TO_BYTE8 (c);
3656 else if (c >= 256) 3656 else if (c >= 128)
3657 return -1; 3657 return -1;
3658 i += bytes; 3658 i += bytes;
3659 } 3659 }
@@ -3696,7 +3696,7 @@ base64_encode_1 (const char *from, char *to, ptrdiff_t length,
3696 c = string_char_and_length ((unsigned char *) from + i, &bytes); 3696 c = string_char_and_length ((unsigned char *) from + i, &bytes);
3697 if (CHAR_BYTE8_P (c)) 3697 if (CHAR_BYTE8_P (c))
3698 c = CHAR_TO_BYTE8 (c); 3698 c = CHAR_TO_BYTE8 (c);
3699 else if (c >= 256) 3699 else if (c >= 128)
3700 return -1; 3700 return -1;
3701 i += bytes; 3701 i += bytes;
3702 } 3702 }
@@ -3721,7 +3721,7 @@ base64_encode_1 (const char *from, char *to, ptrdiff_t length,
3721 c = string_char_and_length ((unsigned char *) from + i, &bytes); 3721 c = string_char_and_length ((unsigned char *) from + i, &bytes);
3722 if (CHAR_BYTE8_P (c)) 3722 if (CHAR_BYTE8_P (c))
3723 c = CHAR_TO_BYTE8 (c); 3723 c = CHAR_TO_BYTE8 (c);
3724 else if (c >= 256) 3724 else if (c >= 128)
3725 return -1; 3725 return -1;
3726 i += bytes; 3726 i += bytes;
3727 } 3727 }