--- psiconv/trunk/lib/psiconv/unicode.c 2004/02/25 20:56:43 230 +++ psiconv/trunk/lib/psiconv/unicode.c 2004/02/25 20:57:10 231 @@ -144,7 +144,6 @@ psiconv_buffer buf, int lev, psiconv_ucs2 value) { - psiconv_u8 byte; int i; int res=0; @@ -264,7 +263,7 @@ if (haystack[i+j] != needle[j]) break; if (j == needle_len) - return haystack+i; + return (psiconv_ucs2 *) haystack+i; } return NULL; }