diff --git a/src/sem/variable.h b/src/sem/variable.h index 49f23400e2..2b2b2e7dbe 100644 --- a/src/sem/variable.h +++ b/src/sem/variable.h @@ -81,7 +81,7 @@ class Variable : public Castable { bool IsPipelineConstant() const { return is_pipeline_constant_; } /// @returns the pipeline constant ID associated with the variable - uint32_t ConstantId() const { return constant_id_; } + uint16_t ConstantId() const { return constant_id_; } private: const ast::Variable* const declaration_;