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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user