This repository has been archived by the owner on Nov 11, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent overflow of numberOfOccurrencesWithinInterval
Potentially large (quint64) value divided by a potentially small divisor (e.g. 1 or 2) could result in a value which cannot fit into an int, resulting in overlfow. Also fix comment to refer to appropriate variable.
- Loading branch information