Re: [AD] fixed gcc warning

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> 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;                               \

Evert





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/