Re: [AD] fixed gcc warning |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Sun, 2004-07-18 at 19:32 +0200, Evert Glebbeek wrote:
> > After someone confirms there's no problem with it (there'd be no more
> > need at all for the type parameter now, and I'm not too sure what the
> > cast around an lavalue actually does - so I might be overlooking
> > something), I'll commit it.
>
> I haven't looked very closely at it yet, however:
> - (unsigned char*) s += (size), dd += _al_stretch.i2; \
> + s += (size), dd += _al_stretch.i2; \
>
> these don't do the same thing: one increments *s, the other increments s. I
> think it should read
> + *s += (size), dd += _al_stretch.i2; \
>
No.. I just removed the cast..
--
Elias Pschernig