Bug 493781 Fixing warning in universalchardet array subscript has type 'char'

r=smontagu
This commit is contained in:
timeless@mozdev.org 2009-06-27 18:42:50 -07:00
Родитель daea8372a2
Коммит b4666bc5b2
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -39,7 +39,7 @@
#include "JpCntx.h"
//This is hiragana 2-char sequence table, the number in each cell represents its frequency category
const char jp2CharContext[83][83] =
const PRUint8 jp2CharContext[83][83] =
{
{ 0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,},
{ 2,4,0,4,0,3,0,4,0,3,4,4,4,2,4,3,3,4,3,2,3,3,4,2,3,3,3,2,4,1,4,3,3,1,5,4,3,4,3,4,3,5,3,0,3,5,4,2,0,3,1,0,3,3,0,3,3,0,1,1,0,4,3,0,3,3,0,4,0,2,0,3,5,5,5,5,4,0,4,1,0,3,4,},

Просмотреть файл

@ -46,7 +46,7 @@
#define MAX_REL_THRESHOLD 1000
//hiragana frequency category table
extern const char jp2CharContext[83][83];
extern const PRUint8 jp2CharContext[83][83];
class JapaneseContextAnalysis
{