--- mqtt/src/daemon.c 2011/12/12 09:24:25 1.1.2.16 +++ mqtt/src/daemon.c 2011/12/13 10:12:36 1.1.2.17 @@ -21,7 +21,7 @@ initSession(int sock, char * __restrict addr) } else memset(sess, 0, sizeof(struct tagSession)); - str = cfg_GetAttribute(&cfg, CFG("mqttd"), CFG("retry")); + str = (const char*) cfg_GetAttribute(&cfg, CFG("mqttd"), CFG("retry")); if (!str) sess->sess_retry = DEFAULT_RETRY; else