X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=charset%2Fcharconv-gen.h;h=f4988548aedc3c19d3039f3343fb776e05ec96bf;hb=1bc3bb66e47ec02003658fb3040aef0ffd7b7540;hp=1c76b12a2d4e5328397491cc4c80ea0fab66e844;hpb=4041125824e4e8ccb12209ba7079dbd0b7c6bb60;p=libucw.git diff --git a/charset/charconv-gen.h b/charset/charconv-gen.h index 1c76b12a..f4988548 100644 --- a/charset/charconv-gen.h +++ b/charset/charconv-gen.h @@ -16,7 +16,7 @@ do { const byte *s, *se; byte *d, *de; - uns code; + uint code; int e; #ifdef CONV_READ_STD @@ -28,7 +28,7 @@ do { #endif #ifdef CONV_READ_UTF8 - uns cc; + uint cc; #endif if (unlikely(c->state)) @@ -138,8 +138,8 @@ got_code: else { byte *k = string_table + code - 0x100; - uns len = *k++; - if (unlikely((uns)(de - d) < len)) + uint len = *k++; + if (unlikely((uint)(de - d) < len)) { c->state = SEQ_WRITE; c->string_at = k;