From: Matthew Fernandez Date: Wed, 3 Aug 2022 01:04:11 +0000 (-0700) Subject: gvpr binary: use local types that corresponds to the values being stored X-Git-Tag: 5.0.1~20^2~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=adec9252c54a2863406eca0b6bef7f53fa00e519;p=graphviz gvpr binary: use local types that corresponds to the values being stored Squashes 2 -Wconversion warnings. --- diff --git a/lib/gvpr/compile.c b/lib/gvpr/compile.c index b80333c32..bcdee5522 100644 --- a/lib/gvpr/compile.c +++ b/lib/gvpr/compile.c @@ -1885,15 +1885,14 @@ binary(Expr_t * pg, Exnode_t * l, Exnode_t * ex, Exnode_t * r, int arg, return -1; if (l->type == T_tvtyp) { - int li, ri; if (!r) return -1; /* Assume libexpr handled unary */ if (r->type != T_tvtyp) return -1; - li = l->data.constant.value.integer; - ri = r->data.constant.value.integer; + long long li = l->data.constant.value.integer; + long long ri = r->data.constant.value.integer; switch (ex->op) { case EQ: if (arg)