Ignore:
Timestamp:
May 27, 2019, 3:03:29 PM (5 years ago)
Author:
djay
Message:

Fix issue building with gcc 7.3.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-kernel/service_internal_ms.c

    r917 r921  
    860860      char extent[1024];
    861861      memset(&extent,0,1024);
    862       sprintf(extent,"%d,%d,%d,%d",oExt.MinX, oExt.MinY, oExt.MaxX, oExt.MaxY);
     862      sprintf(extent,"%f,%f,%f,%f",oExt.MinX, oExt.MinY, oExt.MaxX, oExt.MaxY);
    863863      setMapArray(output->content,"boundingbox",imyIndex,extent);
    864864    }
     
    10901090      char extent[1024];
    10911091      memset(&extent,0,1024);
    1092       sprintf(extent,"%d,%d,%d,%d",minX,minY,maxX,maxY);
     1092      sprintf(extent,"%f,%f,%f,%f",minX,minY,maxX,maxY);
    10931093      setMapArray(output->content,"boundingbox",imyIndex,extent);
    10941094    }
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png