Don't try to change the value of 'const' variables. Finish statements with semicolon...
[synfig.git] / synfig-core / trunk / src / synfig / guid.cpp
index 4598c63..ab4046b 100644 (file)
@@ -160,11 +160,11 @@ synfig::GUID::hasher(const String& str)
                )
        );
 #else
-       const unsigned int seed(0x3B642879);
-       for(int i=0;i<str.size();i++)
+       unsigned int seed(0x3B642879);
+       for(unsigned int i=0;i<str.size();i++)
        {
-               seed^=(seed*str[i])*i
-               seed=(seed>>(32-(i%24)))^(seed<<(i%24))
+               seed^=(seed*str[i])*i;
+               seed=(seed>>(32-(i%24)))^(seed<<(i%24));
        }
 #endif