projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add LLVM_OVERRIDE to methods that override their base classes.
[oota-llvm.git]
/
lib
/
Support
/
regengine.inc
diff --git
a/lib/Support/regengine.inc
b/lib/Support/regengine.inc
index bf55543dab8acd275eacf042215a2af749c030bc..7e41f96f359df184462f943277e74791d0660ef6 100644
(file)
--- a/
lib/Support/regengine.inc
+++ b/
lib/Support/regengine.inc
@@
-185,7
+185,7
@@
matcher(struct re_guts *g, const char *string, size_t nmatch,
endp = fast(m, start, stop, gf, gl);
if (endp == NULL) { /* a miss */
free(m->pmatch);
- free(m->lastpos);
+ free(
(void*)
m->lastpos);
STATETEARDOWN(m);
return(REG_NOMATCH);
}