about summary refs log tree commit diff
path: root/iconvdata/gbk.c
diff options
context:
space:
mode:
Diffstat (limited to 'iconvdata/gbk.c')
-rw-r--r--iconvdata/gbk.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/iconvdata/gbk.c b/iconvdata/gbk.c
index 405a3f8b23..952f76ab73 100644
--- a/iconvdata/gbk.c
+++ b/iconvdata/gbk.c
@@ -13132,7 +13132,7 @@ static const char __gbk_from_ucs4_tab12[][2] =
 	    }								      \
 									      \
 	  ++inptr;							      \
-	  ++*converted;							      \
+	  ++*irreversible;						      \
 	  continue;							      \
 	}								      \
       else								      \
@@ -13164,7 +13164,7 @@ static const char __gbk_from_ucs4_tab12[][2] =
 		}							      \
 									      \
 	      ++inptr;							      \
-	      ++*converted;						      \
+	      ++*irreversible;						      \
 	      continue;							      \
 	    }								      \
 									      \
@@ -13184,7 +13184,7 @@ static const char __gbk_from_ucs4_tab12[][2] =
 		}							      \
 									      \
 	      inptr += 2;						      \
-	      ++*converted;						      \
+	      ++*irreversible;						      \
 	      continue;							      \
 	    }								      \
 									      \
@@ -13456,7 +13456,7 @@ static const char __gbk_from_ucs4_tab12[][2] =
 	      break;							      \
 	    }								      \
 									      \
-	  ++*converted;							      \
+	  ++*irreversible;						      \
 	}								      \
       /* See whether there is enough room for the second byte we write.  */   \
       else if (NEED_LENGTH_TEST && cp[1] != '\0'			      \