Fixed data copy bug
This commit is contained in:
parent
b6d2a67651
commit
d307ca2dea
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user