[Mesa-dev] [Bug 100569] 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]
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Apr 4 21:31:05 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=100569
Bug ID: 100569
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
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Mesa core
Assignee: mesa-dev at lists.freedesktop.org
Reporter: vlee at freedesktop.org
QA Contact: mesa-dev at lists.freedesktop.org
mesa: 0de17f52a515e655682b4b894c44ad9d7308794e (17.1.0-devel)
CXX core/libclover_la-resource.lo
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]
pipe({ (int)origin[0], (int)origin[1],
^~~~~~~~~~~~~~
core/resource.cpp:36:33: note: insert an explicit cast to silence this issue
pipe({ (int)origin[0], (int)origin[1],
^~~~~~~~~~~~~~
static_cast<int16_t>( )
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170404/f771ecd2/attachment.html>
More information about the mesa-dev
mailing list