mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 08:25:40 +02:00
Fix boolean comparisions
This commit is contained in:
+1
-1
@@ -51,7 +51,7 @@ int compare(mvt_value one, json_object *two, bool &fail) {
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user