--- trunk/src/applications/staticProps/GofZ.cpp 2012/08/22 18:43:27 1785 +++ trunk/src/applications/staticProps/GofZ.cpp 2012/08/30 17:18:22 1790 @@ -108,7 +108,7 @@ namespace OpenMD { if (xydist < rC_) { thisZ = abs(r12.z()); - int whichBin = thisZ / deltaZ_; + int whichBin = int(thisZ / deltaZ_); histogram_[whichBin] += 2; } }