[geos-commits] [SCM] GEOS branch 3.9 updated. f0432996b098e4c8e7c1661ae9f12c62ac3fc367
git at osgeo.org
git at osgeo.org
Thu Feb 25 14:21:48 PST 2021
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GEOS".
The branch, 3.9 has been updated
via f0432996b098e4c8e7c1661ae9f12c62ac3fc367 (commit)
from 8a3f2bd1aafd2a16c4794bc2ca58f570ee00079f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit f0432996b098e4c8e7c1661ae9f12c62ac3fc367
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Thu Feb 25 14:21:40 2021 -0800
Quite compiler warning about signedness
diff --git a/src/geom/util/SineStarFactory.cpp b/src/geom/util/SineStarFactory.cpp
index d96225c..bb82299 100644
--- a/src/geom/util/SineStarFactory.cpp
+++ b/src/geom/util/SineStarFactory.cpp
@@ -57,8 +57,8 @@ SineStarFactory::createSineStar() const
double centreY = env->getMinY() + radius;
std::vector<Coordinate> pts(nPts + 1);
- int iPt = 0;
- for(int i = 0; i < nPts; i++) {
+ std::size_t iPt = 0;
+ for(std::size_t i = 0; i < nPts; i++) {
// the fraction of the way thru the current arm - in [0,1]
double ptArcFrac = (i / (double) nPts) * numArms;
double armAngFrac = ptArcFrac - floor(ptArcFrac);
-----------------------------------------------------------------------
Summary of changes:
src/geom/util/SineStarFactory.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
GEOS
More information about the geos-commits
mailing list