changeset 7580 | c92596feac0d |
parent 7576 | 65d29988fd3d |
child 10017 | de822cd3df3a |
--- a/project_files/frontlib/ipc/gameconn.c Mon Aug 20 17:08:52 2012 +0200 +++ b/project_files/frontlib/ipc/gameconn.c Mon Aug 20 20:16:37 2012 +0200 @@ -294,7 +294,7 @@ uint8_t converted[256]; size_t msglen = strlen(cmdString); if(!log_e_if(msglen>255, "Message too long: %s", cmdString)) { - strcpy(converted+1, cmdString); + strcpy((char*)converted+1, cmdString); converted[0] = msglen; if(!flib_ipcbase_send_raw(conn->ipcBase, converted, msglen+1)) { demo_append(conn, converted, msglen+1);