Dear Jerry and Jeff -
On Sat, Apr 16, 2011 at 5:31 PM, Jeff Sparkes <jsparkes@gmail.com> wrote:make_int is doing the shifting, because of the tag bits. The problem
> I don't even see a << in my patch!? Maybe some header is converting log2
> into a shift? Neither gcc nor g++ complained about this on my Ubuntu
> system. I'll add explicit casts. Try this patch.
is that log2() produces a double instead of an int. There was no
patch attached to your message, but casting the result of log2() to an
int is the way to go.