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

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=11ba44f3a7a5a280b942639a13c77d2364177419

commit 11ba44f3a7a5a280b942639a13c77d2364177419
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Tue Mar 22 15:54:38 2022 -0300

    iconvdata: Fix enum type on UTF-7
    
    Checked on x86_64-linux-gnu.

Diff:
---
 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


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

only message in thread, other threads:[~2022-03-23 18:44 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:44 [glibc] 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).