Summary: | core/resource.cpp:36:33: error: non-constant-expression cannot be narrowed from type 'int' to 'int16_t' (aka 'short') in initializer list [-Wc++11-narrowing] | ||
---|---|---|---|
Product: | Mesa | Reporter: | Vinson Lee <vlee> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | mesa-dev |
Severity: | normal | ||
Priority: | medium | CC: | currojerez |
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Vinson Lee
2017-04-04 21:31:05 UTC
Most likely caused by the recent change to make pipe_box smaller. Changing the affected cast from (int) to (int16_t) should be sufficient to fix this. Pushed as: commit 4d0399f1755145b7c25f0aba0413e41e43e4cbbe Author: Aaron Watry <awatry@gmail.com> Date: Tue Apr 4 20:16:02 2017 -0500 st/clover: Fix build after shrink of pipe_box |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.