Make 64-bit VS compile clean. Mostly size_t vs. int tweaks.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@25411 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
8922da24a4
commit
35f04bde8a
13 changed files with 591 additions and 17 deletions
|
|
@ -445,8 +445,8 @@ public:
|
|||
unionArray = new TConstUnionVector(size, val);
|
||||
}
|
||||
|
||||
TConstUnion& operator[](int index) { return (*unionArray)[index]; }
|
||||
const TConstUnion& operator[](int index) const { return (*unionArray)[index]; }
|
||||
TConstUnion& operator[](size_t index) { return (*unionArray)[index]; }
|
||||
const TConstUnion& operator[](size_t index) const { return (*unionArray)[index]; }
|
||||
bool operator==(const TConstUnionArray& rhs) const
|
||||
{
|
||||
// this includes the case that both are unallocated
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue