Wrong sign in pointer assignment
authorSam Lantinga <slouken@libsdl.org>
Fri, 30 Nov 2001 16:06:41 +0000
changeset 1325707e5165d84
parent 131 d8deeb1beee7
child 133 2f15d225fe94
Wrong sign in pointer assignment
effect_position.c
     1.1 --- a/effect_position.c	Fri Nov 02 20:40:32 2001 +0000
     1.2 +++ b/effect_position.c	Fri Nov 30 16:06:41 2001 +0000
     1.3 @@ -194,8 +194,8 @@
     1.4      Sint8 *ptr = (Sint8 *) stream;
     1.5      Uint32 *p;
     1.6      int i;
     1.7 -    Sint8 *l = ((Uint8 *) _Eff_volume_table) + (256 * args->left_u8);
     1.8 -    Sint8 *r = ((Uint8 *) _Eff_volume_table) + (256 * args->right_u8);
     1.9 +    Sint8 *l = ((Sint8 *) _Eff_volume_table) + (256 * args->left_u8);
    1.10 +    Sint8 *r = ((Sint8 *) _Eff_volume_table) + (256 * args->right_u8);
    1.11      Sint8 *d = ((Sint8 *) _Eff_volume_table) + (256 * args->distance_u8);
    1.12  
    1.13