aboutsummaryrefslogtreecommitdiff
path: root/iconvdata/utf-7.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-03-22 15:54:38 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-03-23 15:35:35 -0300
commit11ba44f3a7a5a280b942639a13c77d2364177419 (patch)
tree87b6f4fafafe2e4dde6ff05c2e9d2ffbc4c032c0 /iconvdata/utf-7.c
parent06e91f1a2ebfb2d8a4ffa7285079c77ece20b6aa (diff)
downloadglibc-11ba44f3a7a5a280b942639a13c77d2364177419.zip
glibc-11ba44f3a7a5a280b942639a13c77d2364177419.tar.gz
glibc-11ba44f3a7a5a280b942639a13c77d2364177419.tar.bz2
iconvdata: Fix enum type on UTF-7
Checked on x86_64-linux-gnu.
Diffstat (limited to 'iconvdata/utf-7.c')
-rw-r--r--iconvdata/utf-7.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iconvdata/utf-7.c b/iconvdata/utf-7.c
index 1b1f68e..ebec4e4 100644
--- a/iconvdata/utf-7.c
+++ b/iconvdata/utf-7.c
@@ -155,7 +155,7 @@ base64 (unsigned int i, enum variant var)
mbstate_t saved_state; \
mbstate_t *statep = data->__statep; \
enum direction dir = ((struct utf7_data *) step->__data)->dir; \
- enum direction var = ((struct utf7_data *) step->__data)->var;
+ enum variant var = ((struct utf7_data *) step->__data)->var;
#define EXTRA_LOOP_ARGS , statep, var