UnitTests: Fix compilation

This commit is contained in:
Lynix 2016-11-10 17:35:29 +01:00
parent 1b3b86aadb
commit 48f7a955f6
1 changed files with 2 additions and 2 deletions

View File

@ -11,10 +11,10 @@ SCENARIO("ParticleDeclaration", "[GRAPHICS][PARTICLEDECLARATION]")
{ {
bool enabled; bool enabled;
Nz::ComponentType type; Nz::ComponentType type;
unsigned int offset; std::size_t offset;
particleDeclaration->GetComponent(Nz::ParticleComponent_Position, &enabled, &type, &offset); particleDeclaration->GetComponent(Nz::ParticleComponent_Position, &enabled, &type, &offset);
REQUIRE(enabled); REQUIRE(enabled);
unsigned int oldStride = particleDeclaration->GetStride(); std::size_t oldStride = particleDeclaration->GetStride();
particleDeclaration->DisableComponent(Nz::ParticleComponent_Position); particleDeclaration->DisableComponent(Nz::ParticleComponent_Position);
REQUIRE(oldStride != particleDeclaration->GetStride()); REQUIRE(oldStride != particleDeclaration->GetStride());