diff options
author | Luo Jinghua <sunmoon1997@gmail.com> | 2010-01-10 22:26:53 +0800 |
---|---|---|
committer | Luo Jinghua <sunmoon1997@gmail.com> | 2010-01-10 22:26:53 +0800 |
commit | f582fa32b5bc2393098a57bc4b977913a7bfbf97 (patch) | |
tree | 80e3d705be298f8e0272920add0689dddb6ca4d9 | |
parent | f757c0694efe9546f4fd72204cdadddfbf6c9f4c (diff) |
use size_t for table size
-rw-r--r-- | singlebytecodec.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/singlebytecodec.h b/singlebytecodec.h index 16d9800..08aef9b 100644 --- a/singlebytecodec.h +++ b/singlebytecodec.h @@ -11,9 +11,9 @@ struct encoding_map { typedef struct _SingleByteCodecState { const char *encoding; const int *decoding_table; - int decoding_table_size; + size_t decoding_table_size; const struct encoding_map *encoding_map; - int encoding_map_size; + size_t encoding_map_size; } SingleByteCodecState; int |