mirror of
https://github.com/mapnik/mapnik.git
synced 2026-02-01 17:36:36 +00:00
avoid compiler warnings with msvc
This commit is contained in:
parent
857a6950f7
commit
c8c2d98c0e
@ -362,7 +362,7 @@ bool box2d<T>::from_string(const std::string& s)
|
||||
|
||||
if (success)
|
||||
{
|
||||
init(d[0], d[1], d[2], d[3]);
|
||||
init(static_cast<T>(d[0]),static_cast<T>(d[1]),static_cast<T>(d[2]),static_cast<T>(d[3]));
|
||||
}
|
||||
|
||||
return success;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user