aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/OpenJpeg/fix.cs
diff options
context:
space:
mode:
authorTeravus Ovares2008-12-20 01:20:40 +0000
committerTeravus Ovares2008-12-20 01:20:40 +0000
commit4d26da545d8df85917b06cd603ffa6e92fd431e5 (patch)
treedec31f79c4a3d0736fd798442e090de7b951008f /OpenSim/Framework/OpenJpeg/fix.cs
parentRevert OpenId until we can come to grips with the mono 2 requirement (diff)
downloadopensim-SC_OLD-4d26da545d8df85917b06cd603ffa6e92fd431e5.zip
opensim-SC_OLD-4d26da545d8df85917b06cd603ffa6e92fd431e5.tar.gz
opensim-SC_OLD-4d26da545d8df85917b06cd603ffa6e92fd431e5.tar.bz2
opensim-SC_OLD-4d26da545d8df85917b06cd603ffa6e92fd431e5.tar.xz
* 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
Diffstat (limited to 'OpenSim/Framework/OpenJpeg/fix.cs')
-rw-r--r--OpenSim/Framework/OpenJpeg/fix.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/OpenSim/Framework/OpenJpeg/fix.cs b/OpenSim/Framework/OpenJpeg/fix.cs
new file mode 100644
index 0000000..76d3159
--- /dev/null
+++ b/OpenSim/Framework/OpenJpeg/fix.cs
@@ -0,0 +1,16 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4
5namespace OpenSim.Framework.OpenJpeg
6{
7 public static class fix
8 {
9 public static int fix_mul(int a, int b)
10 {
11 long temp = (long)a * (long)b;
12 temp += temp & 4096;
13 return (int)(temp >> 13);
14 }
15 }
16}