use memcpy instead, other code breaks mysteriously on IRIX

parent d85f64a5
......@@ -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];
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment