diff options
author | Francisco Jerez <[email protected]> | 2012-09-24 18:33:35 +0200 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2012-09-24 18:36:34 +0200 |
commit | 959fe586fb0d64642facffff8c0132777523ed42 (patch) | |
tree | 3cacda942cfe3793dec31bf49e5cd27dcb5946ae /src | |
parent | 01877a6fd003d22f17571593dc22414e3fec883d (diff) |
clover: Silence narrowing conversion warnings in resource.cpp.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/state_trackers/clover/core/resource.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/clover/core/resource.cpp b/src/gallium/state_trackers/clover/core/resource.cpp index 61085b2cb29..0c671f47388 100644 --- a/src/gallium/state_trackers/clover/core/resource.cpp +++ b/src/gallium/state_trackers/clover/core/resource.cpp @@ -31,9 +31,9 @@ namespace { class box { public: box(const resource::point &origin, const resource::point &size) : - pipe({ (unsigned)origin[0], (unsigned)origin[1], - (unsigned)origin[2], (unsigned)size[0], - (unsigned)size[1], (unsigned)size[2] }) { + pipe({ (int)origin[0], (int)origin[1], + (int)origin[2], (int)size[0], + (int)size[1], (int)size[2] }) { } operator const pipe_box *() { |