Skip to content

Commit

Permalink
Fixes coordinate conversion issue. Thx @kkaefer
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisOSRM committed Aug 27, 2013
1 parent 7a5bcea commit a6c52fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DataStructures/Coordinate.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ inline double ApproximateEuclideanDistance(const FixedPointCoordinate &c1, const

static inline void convertInternalLatLonToString(const int value, std::string & output) {
char buffer[100];
buffer[10] = 0; // Nullterminierung
char* string = printInt< 10, 6 >( buffer, value );
buffer[11] = 0; // zero termination
char* string = printInt< 11, 6 >( buffer, value );
output = string;
}

Expand Down

0 comments on commit a6c52fd

Please sign in to comment.