Fix for incomplete copy through of compound types on big endian architecture.

This bug was unfortunately introduced in R3.14.9
This commit is contained in:
Jeff Hill
2007-03-29 16:31:38 +00:00
parent 21ebcc6cf6
commit b6a6936059

View File

@@ -1431,7 +1431,7 @@ int caNetConvert ( unsigned type, const void *pSrc, void *pDest,
return ECA_BADTYPE;
}
if ( pSrc != pDest ) {
memcpy ( pDest, pSrc, count );
memcpy ( pDest, pSrc, dbr_size_n ( type, count ) );
}
# endif
return ECA_NORMAL;