diff -r f15c7d6aebb9 -r dc8bade7f2a3 ucx/string.h --- a/ucx/string.h Fri Oct 12 12:12:59 2012 +0200 +++ b/ucx/string.h Fri Oct 12 12:46:54 2012 +0200 @@ -12,8 +12,8 @@ #include /* use macros for literals only */ -#define S(s) { s, sizeof(s)-1 } -#define ST(s) sstrn(s, sizeof(s)-1) +#define S(s) { (char*)s, sizeof(s)-1 } +#define ST(s) sstrn((char*)s, sizeof(s)-1) #ifdef __cplusplus extern "C" {