]> mj.ucw.cz Git - libucw.git/blobdiff - charset/charconv-gen.h
XML: Implemented a merger of element's contents.
[libucw.git] / charset / charconv-gen.h
index 7a7f0eff8f78b9c6d110292183fc19b99a61b13f..1c76b12a2d4e5328397491cc4c80ea0fab66e844 100644 (file)
@@ -139,7 +139,7 @@ got_code:
         {
          byte *k = string_table + code - 0x100;
          uns len = *k++;
-         if (unlikely(de - d < len))
+         if (unlikely((uns)(de - d) < len))
            {
              c->state = SEQ_WRITE;
              c->string_at = k;