Fix previous casting removal fix
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 5 Sep 2009 05:22:59 +0000 (07:22 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 5 Sep 2009 05:22:59 +0000 (07:22 +0200)
gatmux/gsm0710.c

index b93fa78..d0df30e 100644 (file)
@@ -555,7 +555,7 @@ void gsm0710_write_data(struct gsm0710_context *ctx, int channel,
         if (temp > ctx->frame_size)
             temp = ctx->frame_size;
         gsm0710_write_frame(ctx, channel, GSM0710_DATA, data, temp);
-        data = (((const unsigned char *)data) + temp);
+        data = ((const unsigned char *)data) + temp;
         len -= temp;
     }
 }