mirror of
https://github.com/mapbox/tippecanoe.git
synced 2025-02-24 02:41:15 +00:00
Fix boolean comparisions
This commit is contained in:
parent
8d7f8af1d9
commit
4e1611eec9
@ -51,7 +51,7 @@ int compare(mvt_value one, json_object *two, bool &fail) {
|
|||||||
return false; // bool vs non-bool
|
return false; // bool vs non-bool
|
||||||
}
|
}
|
||||||
|
|
||||||
bool b = two->type = JSON_TRUE;
|
bool b = two->type != JSON_FALSE;
|
||||||
return one.numeric_value.bool_value > b;
|
return one.numeric_value.bool_value > b;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user