| commit | 8dcce86d28f3823401ab5137cf38a3a332860940 | [log] [tgz] |
|---|---|---|
| author | Alexis Hetu <sugoi@google.com> | Thu Nov 13 16:43:44 2014 -0500 |
| committer | Alexis Hétu <sugoi@google.com> | Fri Nov 21 16:55:38 2014 +0000 |
| tree | 03adbdba9b77c293a64f44c50307621ee052dfc1 | |
| parent | 0c4c3e74764481e7fdeb9bed4912a767c3b5c1e8 [diff] [blame] |
More warnings fixed Fixed warnings related to type conversions leading to potential loss of precision. BUG=18368388 Change-Id: I71a7941df4bcf991f04818060780d4d395e335a9 Reviewed-on: https://swiftshader-review.googlesource.com/1393 Tested-by: Alexis Hétu <sugoi@google.com> Reviewed-by: Nicolas Capens <nicolascapens@google.com>
diff --git a/src/Shader/Shader.cpp b/src/Shader/Shader.cpp index da0a84f..fc98eb5 100644 --- a/src/Shader/Shader.cpp +++ b/src/Shader/Shader.cpp
@@ -1327,7 +1327,7 @@ return serialID; } - int Shader::getLength() const + size_t Shader::getLength() const { return instruction.size(); }