Merge branch 'master' of ssh://opensimulator.org/var/git/opensim

prebuild-update
John Hurliman 2010-08-13 17:40:18 -07:00
commit 96e4099564
1 changed files with 4 additions and 6 deletions

View File

@ -54,12 +54,10 @@ namespace OpenSim.Region.CoreModules.Framework.EventQueue
}
private static byte[] uintToByteArray(uint uIntValue)
{
byte[] resultbytes = Utils.UIntToBytes(uIntValue);
if (BitConverter.IsLittleEndian)
Array.Reverse(resultbytes);
return resultbytes;
{
byte[] result = new byte[4];
Utils.UIntToBytesBig(uIntValue, result, 0);
return result;
}
public static OSD buildEvent(string eventName, OSD eventBody)