summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/apps
diff options
context:
space:
mode:
authorHarald Welte2010-03-07 13:27:06 +0100
committerHarald Welte2010-03-07 13:27:25 +0100
commit279cc2e3d8e51ed257842f331e3f91d38648f8e6 (patch)
tree0f630ffb557a545f72033a223399a252eac0c63d /src/target/firmware/apps
parentlinuxlist.h: use __unused (diff)
downloadosmocom-279cc2e3d8e51ed257842f331e3f91d38648f8e6.tar.gz
osmocom-279cc2e3d8e51ed257842f331e3f91d38648f8e6.tar.xz
osmocom-279cc2e3d8e51ed257842f331e3f91d38648f8e6.zip
fix compiler warnings
Diffstat (limited to 'src/target/firmware/apps')
-rw-r--r--src/target/firmware/apps/hello_world/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/firmware/apps/hello_world/main.c b/src/target/firmware/apps/hello_world/main.c
index b6f22fc..e74fcbc 100644
--- a/src/target/firmware/apps/hello_world/main.c
+++ b/src/target/firmware/apps/hello_world/main.c
@@ -61,7 +61,7 @@ const char *hr = "==============================================================
void key_handler(enum key_codes code, enum key_states state);
-static void *console_rx_cb(uint8_t dlci, struct msgb *msg)
+static void console_rx_cb(uint8_t dlci, struct msgb *msg)
{
if (dlci != SC_DLCI_CONSOLE) {
printf("Message for unknown DLCI %u\n", dlci);
@@ -69,7 +69,7 @@ static void *console_rx_cb(uint8_t dlci, struct msgb *msg)
}
printf("Message on console DLCI: '%s'\n", msg->data);
- st7558_puts(msg->data);
+ st7558_puts((char *) msg->data);
msgb_free(msg);
}