From 1b3b86aadb5f868adef8755a3050b17c4dacd969 Mon Sep 17 00:00:00 2001 From: Lynix Date: Thu, 10 Nov 2016 17:26:20 +0100 Subject: [PATCH] Graphics: Fix compilation --- include/Nazara/Graphics/ParticleMapper.inl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/Nazara/Graphics/ParticleMapper.inl b/include/Nazara/Graphics/ParticleMapper.inl index 63c9c49ba..7d33bb655 100644 --- a/include/Nazara/Graphics/ParticleMapper.inl +++ b/include/Nazara/Graphics/ParticleMapper.inl @@ -23,7 +23,7 @@ namespace Nz // Then the component that are interesting bool enabled; ComponentType type; - unsigned int offset; + std::size_t offset; m_declaration->GetComponent(component, &enabled, &type, &offset); if (enabled) @@ -54,7 +54,7 @@ namespace Nz // Then the component that are interesting bool enabled; ComponentType type; - unsigned int offset; + std::size_t offset; m_declaration->GetComponent(component, &enabled, &type, &offset); if (enabled)