effect_stereoreverse.c
changeset 310 77e72cff08e7
parent 241 503416fca921
child 339 30996c5fd448
     1.1 --- a/effect_stereoreverse.c	Thu May 11 19:09:40 2006 +0000
     1.2 +++ b/effect_stereoreverse.c	Thu May 11 19:30:52 2006 +0000
     1.3 @@ -74,7 +74,7 @@
     1.4      /* get the last two bytes if len is not divisible by four... */
     1.5      if (len % sizeof (Uint32) != 0) {
     1.6          Uint16 *p = (Uint16 *) (((Uint8 *) stream) + (len - 2));
     1.7 -        *p = (((*p) & 0xFF00) >> 8) | (((*ptr) & 0x00FF) << 8);
     1.8 +        *p = (Uint16)((((*p) & 0xFF00) >> 8) | (((*ptr) & 0x00FF) << 8));
     1.9          len -= 2;
    1.10      }
    1.11