--- trunk/src/applications/staticProps/GofR.cpp 2012/08/29 20:52:19 1789 +++ trunk/src/applications/staticProps/GofR.cpp 2012/08/30 17:18:22 1790 @@ -102,7 +102,7 @@ namespace OpenMD { RealType distance = r12.length(); if (distance < len_) { - int whichBin = distance / deltaR_; + int whichBin = int(distance / deltaR_); histogram_[whichBin] += 2; } }