]> rtime.felk.cvut.cz Git - pes-rpp/rpp-test-sw.git/blobdiff - rpp-test-sw/commands/cmd_echoserver.c
Fix warnings
[pes-rpp/rpp-test-sw.git] / rpp-test-sw / commands / cmd_echoserver.c
index eadbc39d951a45cbc931a0d3729d75efd59283c0..c86a12e28e46e48082eccec8d7329d91993da91e 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * cmd_echoserver.c -- Simple echoserver
  *
- * Copyright (C) 2014 Czech Technical University in Prague
+ * Copyright (C) 2014, 2015 Czech Technical University in Prague
  *
  * This echoserver is capable of running multiple instances each running
  * in the background thread.
@@ -206,7 +206,7 @@ int cmd_do_init_es(cmd_io_t *cmd_io, const struct cmd_des *des, char *param[])
 {
        struct netif *netif = rpp_eth_get_netif(INTERFACE_INSTANCE_NUMBER);
        struct es_thread_context *thread_context;
-       unsigned char thread_name[5] = "es"; /* thread name, used for debugging only */
+       char thread_name[5] = "es"; /* thread name, used for debugging only */
        err_t err = ERR_OK;
        uint8_t pindex;
        int thread_nr;