public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [COMMITTED] iconvdata: Fix enum type on UTF-7
@ 2022-03-23 18:46 Adhemerval Zanella
  0 siblings, 0 replies; only message in thread
From: Adhemerval Zanella @ 2022-03-23 18:46 UTC (permalink / raw)
  To: libc-alpha

Checked on x86_64-linux-gnu.
---
 iconvdata/utf-7.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iconvdata/utf-7.c b/iconvdata/utf-7.c
index 1b1f68e1f2..ebec4e4ead 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
 
 
-- 
2.32.0


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-23 18:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-23 18:46 [COMMITTED] iconvdata: Fix enum type on UTF-7 Adhemerval Zanella

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).