From 1f6075506c249d22d43a27ae468a10e32777e88c Mon Sep 17 00:00:00 2001 From: Matt Pharr Date: Mon, 28 May 2012 19:45:16 -0700 Subject: [PATCH] Fix linux build (Jean-Luc Duprat) --- stmt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stmt.cpp b/stmt.cpp index 11cc94ea..6049d4e2 100644 --- a/stmt.cpp +++ b/stmt.cpp @@ -2843,7 +2843,7 @@ CreateForeachActiveStmt(Symbol *iterSym, Stmt *stmts, SourcePos pos) { pos); // Compute the per lane mask to test the mask bits against: (1 << iter) - ConstExpr *oneExpr = new ConstExpr(AtomicType::UniformInt64, 1ll, + ConstExpr *oneExpr = new ConstExpr(AtomicType::UniformInt64, int64_t(1), iterSym->pos); Expr *shiftLaneExpr = new BinaryExpr(BinaryExpr::Shl, oneExpr, symExpr, pos);