From 1f0255ab650b59ef8acafb57b23900f7d89046f7 Mon Sep 17 00:00:00 2001 From: Martin Nowack Date: Tue, 27 Aug 2013 22:03:50 +0200 Subject: Fix constness warnings issued by gcc 4.7 --- lib/Expr/Expr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Expr/Expr.cpp') diff --git a/lib/Expr/Expr.cpp b/lib/Expr/Expr.cpp index 1187573b..a28ad907 100644 --- a/lib/Expr/Expr.cpp +++ b/lib/Expr/Expr.cpp @@ -342,7 +342,7 @@ void ConstantExpr::toMemory(void *address) { case Expr::Int64: *((uint64_t*) address) = getZExtValue(64); break; // FIXME: what about machines without x87 support? case Expr::Fl80: - *((long double*) address) = *(long double*) value.getRawData(); + *((long double*) address) = *(const long double*) value.getRawData(); break; } } -- cgit 1.4.1