mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-17 05:09:20 +02:00
refactor(sonar): make narrowing conversions explicit (cpp:S5276)
This commit is contained in:
@@ -33,7 +33,7 @@ public:
|
||||
tex.create();
|
||||
|
||||
if (tex.get_is_ready())
|
||||
return tex.get_id();
|
||||
return static_cast<GLuint>(tex.get_id());
|
||||
}
|
||||
|
||||
return invalid_id;
|
||||
|
||||
Reference in New Issue
Block a user