--- libaitio/inc/aitio.h 2012/04/02 08:08:09 1.16.2.3 +++ libaitio/inc/aitio.h 2012/04/02 08:10:57 1.16.2.4 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitio.h,v 1.16.2.3 2012/04/02 08:08:09 misho Exp $ +* $Id: aitio.h,v 1.16.2.4 2012/04/02 08:10:57 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -171,7 +171,8 @@ typedef struct { if (__p) { \ __val->val.string = __p; \ AIT_LEN(__val) += strlen((_v)); \ - strlcat(__val->val.string, (_v), AIT_LEN(__val)); \ + strlcat((char*) __val->val.string, (_v), \ + AIT_LEN(__val)); \ } } while (0) #define AIT_SET_BLOB(_vl, _n, _len) do { ait_val_t *__val = (_vl); assert(__val); \ __val->val_type = blob; AIT_LEN(__val) = _len; \