diff options
| author | 2012-11-28 22:51:22 +0100 | |
|---|---|---|
| committer | 2012-11-28 22:51:22 +0100 | |
| commit | fe3ec2e29f4bf25aa47506ed60ea7310387ff166 (patch) | |
| tree | 156888a00a76462942249ecaab677c3f0eff96f9 /src/irecovery.c | |
| parent | 364ce205e3428fbc6ccb73c6e94437c083d73406 (diff) | |
| download | libirecovery-fe3ec2e29f4bf25aa47506ed60ea7310387ff166.tar.gz libirecovery-fe3ec2e29f4bf25aa47506ed60ea7310387ff166.tar.bz2 | |
irecv_send_command/irecv_event_t use const char* instead of char*
Diffstat (limited to 'src/irecovery.c')
| -rw-r--r-- | src/irecovery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irecovery.c b/src/irecovery.c index c4a698d..7d2302e 100644 --- a/src/irecovery.c +++ b/src/irecovery.c | |||
| @@ -165,7 +165,7 @@ int received_cb(irecv_client_t client, const irecv_event_t* event) { | |||
| 165 | if (event->type == IRECV_RECEIVED) { | 165 | if (event->type == IRECV_RECEIVED) { |
| 166 | int i = 0; | 166 | int i = 0; |
| 167 | int size = event->size; | 167 | int size = event->size; |
| 168 | char* data = event->data; | 168 | const char* data = event->data; |
| 169 | for (i = 0; i < size; i++) { | 169 | for (i = 0; i < size; i++) { |
| 170 | printf("%c", data[i]); | 170 | printf("%c", data[i]); |
| 171 | } | 171 | } |
