Commit 7e6e24a1 authored by unknown's avatar unknown

use memcpy instead, other code breaks mysteriously on IRIX

parent 656d21a7
......@@ -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