--- src/Variant.c 2003-03-26 02:47:51.000000000 +0100 +++ src/Variant.c 2008-05-13 12:59:30.000000000 +0200 @@ -158,7 +158,7 @@ { memset(value, 0, sizeof(VARIANT_VALUE)); - value->binary = _variantBase64Decode(string, strlen(string), &value->length); + value->binary = _variantBase64Decode((const unsigned char *)string, strlen(string), &value->length); } return value; }