use memcpy instead, other code breaks mysteriously on IRIX

This commit is contained in:
unknown 2004-10-21 12:57:55 +00:00
parent 656d21a7b8
commit 7e6e24a1cc

View file

@ -13411,8 +13411,11 @@ Dbacc::execREAD_PSUEDO_REQ(Signal* signal){
default:
tmp = 0;
}
Uint32 * src = (Uint32*)&tmp;
signal->theData[0] = src[0];
signal->theData[1] = src[1];
memcpy(signal->theData, &tmp, 8); /* must be memcpy, gives strange results
* on IRIX 64 otherwise
*/
// Uint32 * src = (Uint32*)&tmp;
// signal->theData[0] = src[0];
// signal->theData[1] = src[1];
}