diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-09-05 07:18:12 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-09-05 07:18:12 +0200 |
commit | fe276cde822a5e9825af3e9435447afa1273de09 (patch) | |
tree | 3be1171334652dbe8470f74732288e7b1f7e6b94 /gatmux/gsm0710_p.h | |
parent | 4d781ae6e58893dffc40133dcf662ccf07607d43 (diff) | |
download | ofono-fe276cde822a5e9825af3e9435447afa1273de09.tar.bz2 |
Use unsigned char array for buffer and remove char casting
Diffstat (limited to 'gatmux/gsm0710_p.h')
-rw-r--r-- | gatmux/gsm0710_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gatmux/gsm0710_p.h b/gatmux/gsm0710_p.h index bcf65da8..a365df99 100644 --- a/gatmux/gsm0710_p.h +++ b/gatmux/gsm0710_p.h @@ -67,7 +67,7 @@ struct gsm0710_context int frame_size; int port_speed; int server; - char buffer[GSM0710_BUFFER_SIZE]; + unsigned char buffer[GSM0710_BUFFER_SIZE]; int buffer_used; unsigned long used_channels[(GSM0710_MAX_CHANNELS + 31) / 32]; const char *reinit_detect; @@ -88,7 +88,7 @@ struct gsm0710_context void (*close_channel)(struct gsm0710_context *ctx, int channel); void (*terminate)(struct gsm0710_context *ctx); int (*packet_filter)(struct gsm0710_context *ctx, int channel, - int type, const char *data, int len); + int type, const unsigned char *data, int len); }; void gsm0710_initialize(struct gsm0710_context *ctx); |