const char *
This commit is contained in:
parent
9f8176447b
commit
6cc57d545f
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
||||||
|
|
||||||
edge * r3_edge_create(const char * pattern, int pattern_len, node * child) {
|
edge * r3_edge_create(const char * pattern, int pattern_len, node * child) {
|
||||||
edge * e = (edge*) zmalloc( sizeof(edge) );
|
edge * e = (edge*) zmalloc( sizeof(edge) );
|
||||||
e->pattern = pattern;
|
e->pattern = (char*) pattern;
|
||||||
e->pattern_len = pattern_len;
|
e->pattern_len = pattern_len;
|
||||||
e->opcode = 0;
|
e->opcode = 0;
|
||||||
e->child = child;
|
e->child = child;
|
||||||
|
|
Loading…
Reference in a new issue