Fix prototype mismatch.
authorJelmer Vernooij <jelmer@samba.org>
Mon, 9 Mar 2009 20:49:44 +0000 (21:49 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Mon, 9 Mar 2009 20:49:44 +0000 (21:49 +0100)
lib/util/charset/util_unistr.c

index ec88e784d088e59f271e7e3db460483e98f0b19e..ea2bfeab9f1556c30fd483dfdf99bd2d29856d9a 100644 (file)
@@ -978,7 +978,7 @@ _PUBLIC_ size_t convert_string(charset_t from, charset_t to,
 _PUBLIC_ bool convert_string_talloc(TALLOC_CTX *ctx, 
                                       charset_t from, charset_t to, 
                                       void const *src, size_t srclen, 
 _PUBLIC_ bool convert_string_talloc(TALLOC_CTX *ctx, 
                                       charset_t from, charset_t to, 
                                       void const *src, size_t srclen, 
-                                      void **dest, size_t *converted_size, 
+                                      void *dest, size_t *converted_size, 
                                           bool allow_badcharcnv)
 {
        return convert_string_talloc_convenience(ctx, get_iconv_convenience(),
                                           bool allow_badcharcnv)
 {
        return convert_string_talloc_convenience(ctx, get_iconv_convenience(),