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) private static byte[] uintToByteArray(uint uIntValue)
{ {
byte[] resultbytes = Utils.UIntToBytes(uIntValue); byte[] result = new byte[4];
if (BitConverter.IsLittleEndian) Utils.UIntToBytesBig(uIntValue, result, 0);
Array.Reverse(resultbytes); return result;
return resultbytes;
} }
public static OSD buildEvent(string eventName, OSD eventBody) public static OSD buildEvent(string eventName, OSD eventBody)