summaryrefslogtreecommitdiff
path: root/src/particle.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-03-31 16:54:22 +0300
committerAndrei Karas <akaras@inbox.ru>2012-04-01 03:56:16 +0300
commit761682b6254a3d43e65ff45e07683c61afa6f1e4 (patch)
tree2ee462840f3aadb1e96bfa5c6784ec2cc0d2861a /src/particle.cpp
parenta39f63cdfa5ce15b22f294a8bb1db3a036ce462d (diff)
downloadmv-761682b6254a3d43e65ff45e07683c61afa6f1e4.tar.gz
mv-761682b6254a3d43e65ff45e07683c61afa6f1e4.tar.bz2
mv-761682b6254a3d43e65ff45e07683c61afa6f1e4.tar.xz
mv-761682b6254a3d43e65ff45e07683c61afa6f1e4.zip
Last part of fixes.
Diffstat (limited to 'src/particle.cpp')
-rw-r--r--src/particle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/particle.cpp b/src/particle.cpp
index a0acb4f73..e7e41a094 100644
--- a/src/particle.cpp
+++ b/src/particle.cpp
@@ -285,7 +285,7 @@ Particle *Particle::addEffect(const std::string &particleEffectFile,
{
Particle *newParticle = nullptr;
- std::string::size_type pos = particleEffectFile.find('|');
+ size_t pos = particleEffectFile.find('|');
std::string dyePalettes;
if (pos != std::string::npos)
dyePalettes = particleEffectFile.substr(pos + 1);