commit | 53dd088b5865963ac956a31b1dcdb68daab343df | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Thu Apr 08 15:25:57 2010 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Thu Apr 08 15:25:57 2010 +0000 |
tree | 306823cb6b97a9a8adcda8bfa4c2a9cbb3e1492e | |
parent | a1eafb9afdc41f13ce53c31953065c2cd561ce77 [diff] [blame] |
Various MSVC warning fixes about truncated 64 bit shifts and const pointers passed to free. llvm-svn: 100767
diff --git a/llvm/lib/Support/regengine.inc b/llvm/lib/Support/regengine.inc index bf55543..7e41f96 100644 --- a/llvm/lib/Support/regengine.inc +++ b/llvm/lib/Support/regengine.inc
@@ -185,7 +185,7 @@ 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); }