darkdh / cconv

Automatically exported from code.google.com/p/cconv
GNU General Public License v2.0
0 stars 0 forks source link

cconv_utf8 error #12

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
cconv.c

size_t cconv_utf8(const char** inbuf, size_t* inleft, char**  outbuf, 
size_t* outleft, const language_zh_map *m, int map_size)
{
    ...
    size_t i_proc ...
    ...
    if(i_proc == -1)
    ...
}

i_proc will never be -1 when type is size_t.

Original issue reported on code.google.com by chuanhsing on 8 Apr 2010 at 8:48