We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77fd289 commit ed48c06Copy full SHA for ed48c06
2 files changed
yoga/YGValue.h
@@ -58,7 +58,7 @@ YG_EXPORT bool YGFloatIsUndefined(float value);
58
/**
59
* Host-defined identifier for a dynamic style value.
60
*/
61
-typedef uint8_t YGValueDynamicID;
+typedef uint32_t YGValueDynamicID;
62
63
64
* Layout context passed to YGValueDynamic for resolving dynamic values.
yoga/style/StyleValuePool.h
@@ -200,7 +200,7 @@ class StyleValuePool {
200
YGValueDynamicID getDynamicCallbackID(StyleValueHandle handle) const {
201
assert(handle.isDynamic());
202
assert(handle.isValueIndexed());
203
- return static_cast<uint8_t>(buffer_.get32(handle.value() + 2));
+ return buffer_.get32(handle.value() + 2);
204
}
205
206
static constexpr bool isIntegerPackable(float f) {
0 commit comments