Add iconv_convenience argument to size functions.
[metze/samba/wip.git] / source3 / lib / secdesc.c
index 400f5f31b0b98bd00635b128044baea58d71ea80..232bbca43c876d4b62766de73beef013bfb3fc64 100644 (file)
@@ -233,11 +233,11 @@ SEC_DESC *make_sec_desc(TALLOC_CTX *ctx,
        }
 
        if (dst->owner_sid != NULL) {
-               offset += ndr_size_dom_sid(dst->owner_sid, 0);
+               offset += ndr_size_dom_sid(dst->owner_sid, NULL, 0);
        }
 
        if (dst->group_sid != NULL) {
-               offset += ndr_size_dom_sid(dst->group_sid, 0);
+               offset += ndr_size_dom_sid(dst->group_sid, NULL, 0);
        }
 
        *sd_size = (size_t)offset;