From ad6ae01e238651837c755125446ac1ded28e3266 Mon Sep 17 00:00:00 2001 From: Frank Galligan Date: Wed, 25 Oct 2017 09:26:46 -0700 Subject: [PATCH] Spec: Remove static_cast - Addresses a comment in KhronosGroup/glTF#1114 --- docs/spec/sequential.integer.attribute.decoder.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;