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@lists.freedesktop.org
          Reporter: v...@freedesktop.org
        QA Contact: mesa-dev@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.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to