Merge pull request #1954 from corporateshark/master
Fix warning: size_t->int implicit cast
This commit is contained in:
commit
36be19fc15
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ public:
|
|||
if (it == ioMapper.end()) {
|
||||
// seperate pipe i/o params from uniforms and blocks
|
||||
// in is only for input in first stage as out is only for last stage. check traverse in call stack.
|
||||
ioMapper[name.c_str()] = ioItems.size();
|
||||
ioMapper[name.c_str()] = static_cast<int>(ioItems.size());
|
||||
ioItems.push_back(
|
||||
TObjectReflection(name.c_str(), type, 0, mapToGlType(type), mapToGlArraySize(type), 0));
|
||||
EShLanguageMask& stages = ioItems.back().stages;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue