Fixed a couple of compiler warnings in minor branch

--HG--
branch : minor
This commit is contained in:
Bart van Strien
2011-03-06 17:09:38 +01:00
parent 22e75f72f1
commit 2115cf19b9
3 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ namespace sdl
}
ThreadData::ThreadData(const char *name, size_t len, const char *code, void *mutex, void *cond)
: mutex(mutex), cond(cond), len(len)
: len(len), mutex(mutex), cond(cond)
{
this->name = new char[len+1];
memset(this->name, 0, len+1);