Commit 43d2456a authored by Geoff Simmons's avatar Geoff Simmons

The int val for query evaluation is int64 (VCL INTs also 64 bit).

parent f4f69737
......@@ -79,7 +79,7 @@ const (
type qRHS struct {
strVal []byte
intVal int
intVal int64
floatVal float64
regex *regexp.Regexp
rhsType rhsType
......@@ -256,7 +256,7 @@ func (parser *qParser) parseNum(intOnly bool) (qRHS, error) {
return rhs, parser.err("Integer parse error")
}
rhs.rhsType = integer
rhs.intVal = n
rhs.intVal = int64(n)
if err := parser.advToken(); err != nil {
return rhs, err
}
......
......@@ -44,7 +44,7 @@ type expLHS struct {
type expRHS struct {
str string
intVal int
intVal int64
floatVal float64
rhsType rhsType
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment