[geos-commits] [SCM] GEOS branch master updated. 16223128458ab5a546fcbe92c2c85d1141af9542

git at osgeo.org git at osgeo.org
Tue Feb 26 17:12:44 PST 2019


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, master has been updated
       via  16223128458ab5a546fcbe92c2c85d1141af9542 (commit)
      from  2c426ed5dc04d95acbd42f03881a40c5b880cfaf (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 16223128458ab5a546fcbe92c2c85d1141af9542
Author: Daniel Baston <dbaston at gmail.com>
Date:   Tue Feb 26 20:12:36 2019 -0500

    Fix conversion error warning in Profiler

diff --git a/src/util/Profiler.cpp b/src/util/Profiler.cpp
index a8cb156..1ff532d 100644
--- a/src/util/Profiler.cpp
+++ b/src/util/Profiler.cpp
@@ -63,7 +63,7 @@ Profile::getTotFormatted() const
 {
     long usec = (long) totaltime;
     std::string fmt = to_string(usec);
-    int insertPosition = fmt.length() - 3;
+    int insertPosition = static_cast<int>(fmt.length()) - 3;
     while (insertPosition > 0) {
         fmt.insert(insertPosition, ",");
         insertPosition-=3;

-----------------------------------------------------------------------

Summary of changes:
 src/util/Profiler.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list