Files
opensim/OpenSim/Framework/OpenJpeg/fix.cs
Teravus Ovares 4d26da545d * ReCommit the OpenID patch with a few less dependencies.
* Removes all references to ASP.NET (System.Web.UI,*)
* Removes all references to System.Web.Mobile
2008-12-20 01:20:40 +00:00

17 lines
350 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace OpenSim.Framework.OpenJpeg
{
public static class fix
{
public static int fix_mul(int a, int b)
{
long temp = (long)a * (long)b;
temp += temp & 4096;
return (int)(temp >> 13);
}
}
}