From 01118f554c4b2d69fb4503bf23f426b757dd9969 Mon Sep 17 00:00:00 2001 From: Alex Buts Date: Fri, 15 Feb 2013 17:20:34 +0000 Subject: [PATCH] refs #6543 One windows warning. --- .../Framework/DataHandling/test/LoadDetectorInfoTest.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Code/Mantid/Framework/DataHandling/test/LoadDetectorInfoTest.h b/Code/Mantid/Framework/DataHandling/test/LoadDetectorInfoTest.h index 191bcbda7656..70d332ff2fcc 100644 --- a/Code/Mantid/Framework/DataHandling/test/LoadDetectorInfoTest.h +++ b/Code/Mantid/Framework/DataHandling/test/LoadDetectorInfoTest.h @@ -117,9 +117,9 @@ namespace detFalseSize[3*i+1] = 0.22f; detFalseSize[3*i+2] = 0.33f; - detOrient[3*i+0] = i*0.1f; - detOrient[3*i+1] = i*0.2f; - detOrient[3*i+2] = i*0.3f; + detOrient[3*i+0] = float(i*0.1f); + detOrient[3*i+1] = float(i*0.2f); + detOrient[3*i+2] = float(i*0.3f); detStruct[2*i+0] = boost::lexical_cast(pressure[ic]); detStruct[2*i+1] =boost::lexical_cast(wallThick[ic]);