Permalink
Browse files

32 bits should be enough for anyone.

  • Loading branch information...
1 parent 9bc822e commit 1e5ee77eb89fe7db355282eb58ba4e618a2d8e4d @jnthn committed Feb 11, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 dotnet/runtime/Metamodel/SharedTable.cs
@@ -166,13 +166,13 @@ public RakudoObject TypeCheck(ThreadContext TC, RakudoObject Obj, RakudoObject C
/// is deserialized. Thus never, ever serialize this ID anywhere; it's
/// for strictly for per-run scoped caches _only_. You have been warned.
/// </summary>
- public long TypeCacheID = Interlocked.Add(ref TypeCacheIDSource, 4);
+ public int TypeCacheID = Interlocked.Add(ref TypeCacheIDSource, 4);
/// <summary>
/// Source of type IDs. The lowest one is 4. This is to make the lower
/// two bits available for defined/undefined/don't care flags for the
/// multi dispatch cache, which is the primary user of these IDs.
/// </summary>
- private static long TypeCacheIDSource = 4;
+ private static int TypeCacheIDSource = 4;
}
}

0 comments on commit 1e5ee77

Please sign in to comment.