Fixing member data type for rect_t to uin32_t as the geometry type in xcb seems to consist of unsigned 32-bit integral numbers.
This commit is contained in:
@@ -42,10 +42,10 @@ std::vector<std::ostream*> g_logging_err_outs = {
|
||||
|
||||
inline rect_t parse_rect_from_json(const Json::Value& value) {
|
||||
return {
|
||||
.x = value["x"].asInt(),
|
||||
.y = value["y"].asInt(),
|
||||
.width = value["width"].asInt(),
|
||||
.height = value["height"].asInt(),
|
||||
.x = value["x"].asUInt(),
|
||||
.y = value["y"].asUInt(),
|
||||
.width = value["width"].asUInt(),
|
||||
.height = value["height"].asUInt(),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user