diff --git a/shared/libebm/PartitionOneDimensionalBoosting.cpp b/shared/libebm/PartitionOneDimensionalBoosting.cpp index a7eb05ecc..94efa908e 100644 --- a/shared/libebm/PartitionOneDimensionalBoosting.cpp +++ b/shared/libebm/PartitionOneDimensionalBoosting.cpp @@ -913,7 +913,7 @@ template class PartitionOneDimensionalBoo pMissingBin = pBin; pBin = IndexBin(pBin, cBytesPerBin); } else if(TermBoostFlags_MissingSeparate & flags) { - cSamplesTotal -= aSumBins->GetCountSamples(); + cSamplesTotal -= static_cast(aSumBins->GetCountSamples()); weightTotal -= aSumBins->GetWeight(); aSumBins = IndexBin(aSumBins, cBytesPerBin);