'From Squeak3.1alpha of 28 February 2001 [latest update: #4347] on 25 September 2001 at 8:47:19 pm'! "Change Set: CoercionFix-ar Date: 25 September 2001 Author: Andreas Raab Hack to keep stupid, stupid C compilers happy. Oh well..."! !BitBltSimulation methodsFor: 'memory access' stamp: 'ar 9/25/2001 20:47'! tableLookup: table at: index "Note: Nasty coercion only necessary for the non-inlined version of this method in C. Duh? Oh well, here's the full story. The code below will definitely be inlined so everything that calls this method is fine. But... the translator doesn't quite prune this method so it generates a C function that tries to attempt an array access on an int - and most compilers don't like this. If you don't know what I'm talking about try to remove the C coercion and you'll see what happens when you try to compile a new VM..." ^(self cCoerce: table to:'int*') at: index ! !