summaryrefslogtreecommitdiffstats
path: root/src/irecovery.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irecovery.c')
-rw-r--r--src/irecovery.c2
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) {
if (event->type == IRECV_RECEIVED) {
int i = 0;
int size = event->size;
- char* data = event->data;
+ const char* data = event->data;
for (i = 0; i < size; i++) {
printf("%c", data[i]);
}