On Sat, Apr 16, 2011 at 5:31 PM, Jeff Sparkes <jsparkes(a)gmail.com> wrote:
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.
make_int is doing the shifting, because of the tag bits. The problem
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.
--
Jerry James
http://www.jamezone.org/
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches