Change compare_type from char to int

This commit is contained in:
c9s 2015-11-10 19:36:01 +08:00
parent 0d9fbdbff7
commit 34269aa045
2 changed files with 2 additions and 1 deletions

View file

@ -618,3 +618,4 @@
1447155019,13581101.21,5484972.04,45100.04,2192286.64
1447155029,13116025.99,5830570.40,52428.80,2522486.73
1447155066,13645222.60,5724509.20,62601.55,2514659.99
1447155349,11915902.67,5912124.62,58254.22,2421361.02

Can't render this file because it has a wrong number of fields in line 447.

View file

@ -39,7 +39,7 @@ struct _node {
// edges are mostly less than 255
unsigned int edge_len;
unsigned char compare_type; // compare_type: pcre, opcode, string
unsigned int compare_type; // compare_type: pcre, opcode, string
unsigned char endpoint; // endpoint, should be zero for non-endpoint nodes
unsigned char ov_cnt; // capture vector array size for pcre