[mapguide-trac] #1003: conversion defect in RSMgFeatureReader::GetAsString()

MapGuide Open Source trac_mapguide at osgeo.org
Wed May 27 05:52:37 EDT 2009


#1003: conversion defect in RSMgFeatureReader::GetAsString()
-------------------------------+--------------------------------------------
   Reporter:  andymorf         |       Owner:                  
       Type:  defect           |      Status:  new             
   Priority:  high             |   Milestone:  2.1             
  Component:  Mapping Service  |     Version:  2.0.2           
   Severity:  major            |    Keywords:  int64 conversion
External_id:                   |  
-------------------------------+--------------------------------------------
 The conversion of Int64 to String is done with 'swprintf(temp, MAX_STRING,
 L"%d", llVal)'
 This only provides the first 4 bytes of the Int64 which leads to wrong
 output on the client side.
 In VC++ a correct conversion may be achieved by "%%I64d"

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1003>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list