diff --git a/src/osgPlugins/lwo/lwo2read.h b/src/osgPlugins/lwo/lwo2read.h index a86c7d5c0..d637276ea 100644 --- a/src/osgPlugins/lwo/lwo2read.h +++ b/src/osgPlugins/lwo/lwo2read.h @@ -75,7 +75,7 @@ D changeType4(S src) char* src_ptr = reinterpret_cast(&src); for(int i=0; i<4; ++i) { - *dest_ptr = *src_ptr; + dest_ptr[i] = src_ptr[i]; } return dest; }