about summary refs log tree commit diff
path: root/wcsmbs/wctob.c
diff options
context:
space:
mode:
Diffstat (limited to 'wcsmbs/wctob.c')
-rw-r--r--wcsmbs/wctob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wcsmbs/wctob.c b/wcsmbs/wctob.c
index 7e4c04f161..8c6372558e 100644
--- a/wcsmbs/wctob.c
+++ b/wcsmbs/wctob.c
@@ -40,7 +40,7 @@ wctob (c)
   data.__outbufend = buf + MB_LEN_MAX;
   data.__invocation_counter = 0;
   data.__internal_use = 1;
-  data.__is_last = 1;
+  data.__flags = __GCONV_IS_LAST;
   data.__statep = &data.__state;
 
   /* Make sure we start in the initial state.  */