mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Bug 493781 Fixing warning in universalchardet array subscript has type 'char'
r=smontagu
This commit is contained in:
parent
e87be57598
commit
6f207b45f2
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user