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
parent e87be57598
commit 6f207b45f2
2 changed files with 2 additions and 2 deletions

View File

@ -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,},

View File

@ -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
{