Fixed data copy bug

This commit is contained in:
Robert Osfield 2009-02-06 12:15:15 +00:00
parent b6d2a67651
commit d307ca2dea

View File

@ -75,7 +75,7 @@ D changeType4(S src)
char* src_ptr = reinterpret_cast<char*>(&src);
for(int i=0; i<4; ++i)
{
*dest_ptr = *src_ptr;
dest_ptr[i] = src_ptr[i];
}
return dest;
}