diff --git a/docs/spec/sequential.integer.attribute.decoder.md b/docs/spec/sequential.integer.attribute.decoder.md index 6e0ba5d..73db5ec 100644 --- a/docs/spec/sequential.integer.attribute.decoder.md +++ b/docs/spec/sequential.integer.attribute.decoder.md @@ -5,7 +5,7 @@ ~~~~~ int ConvertSymbolToSignedInt(val) { - is_positive = !static_cast(val & 1); + is_positive = !(val & 1); val >>= 1; if (is_positive) { return val;