mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
violet: 32bit fix
This commit is contained in:
parent
5c5ec905cc
commit
34289eb3b4
@ -1718,7 +1718,7 @@ bool makeTransientFromLongLiteral(NGHolder &h, RoseInGraph &vg,
|
|||||||
const vector<RoseInEdge> &ee,
|
const vector<RoseInEdge> &ee,
|
||||||
const CompileContext &cc) {
|
const CompileContext &cc) {
|
||||||
/* check max width and literal lengths to see if possible */
|
/* check max width and literal lengths to see if possible */
|
||||||
size_t min_lit = ~0ULL;
|
size_t min_lit = (size_t)~0ULL;
|
||||||
for (const RoseInEdge &e : ee) {
|
for (const RoseInEdge &e : ee) {
|
||||||
RoseInVertex v = target(e, vg);
|
RoseInVertex v = target(e, vg);
|
||||||
LIMIT_TO_AT_MOST(&min_lit, vg[v].s.length());
|
LIMIT_TO_AT_MOST(&min_lit, vg[v].s.length());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user