On Mon, Feb 13, 2012 at 12:40 PM, Carsten Haitzler <ras...@rasterman.com> wrote: > On Mon, 13 Feb 2012 10:45:52 -0200 Gustavo Sverzut Barbieri > <barbi...@profusion.mobi> said: > >> On Mon, Feb 13, 2012 at 3:28 AM, Carsten Haitzler <ras...@rasterman.com> >> wrote: >> > On Mon, 6 Feb 2012 22:20:04 +0100 "hannes.janet...@gmail.com" >> > <hannes.janet...@googlemail.com> said: >> > >> > i'm seeing some bizarre numbers like: >> > >> > Program received signal SIGINT, Interrupt. >> > rect_list_add_split_fuzzy (tb=0x8092fc8, x=<value optimized out>, y=399, >> > w=<value optimized out>, h=<value optimized out>) at evas_tiler.c:666 >> > 666 else if ((intra.width == current.width) && >> > (gdb) p intra >> > $18 = {left = 1, top = 0, right = -5992, bottom = -16385, width = -343, >> > height = 1, area = 4040884} >> >> looks like overflow. > > oh shitstix. they are shorts! i just spotted!
blame me :-) But I'd not change to integers, keep them as short and do the maths in int. Nicer to memory, these little beasties can get in lots! -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel