Remove another unneeded cast
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 5 Sep 2009 05:21:45 +0000 (07:21 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 5 Sep 2009 05:21:45 +0000 (07:21 +0200)
gatmux/gsm0710.c

index 645ad98..b93fa78 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 void *)(((const unsigned char *)data) + temp);
+        data = (((const unsigned char *)data) + temp);
         len -= temp;
     }
 }