#1104: error: conversion from 'std::size_t' {aka 'long long unsigned int'} to 'long int' may change value [-Werror=conversion] ------------------------+--------------------------- Reporter: robe | Owner: geos-devel@… Type: defect | Status: new Priority: major | Milestone: 3.10.0 Component: Default | Version: master Severity: Unassigned | Resolution: Keywords: | ------------------------+---------------------------
Comment (by gdt): It seems std::count is of type size_t, not long, so the variable the answer is stored in should be size_t. I don't see that this is more complicated than using the right type. -- Ticket URL: <https://trac.osgeo.org/geos/ticket/1104#comment:3> GEOS <http://trac.osgeo.org/geos> GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
_______________________________________________ geos-devel mailing list geos-devel@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/geos-devel