summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-05-26 15:14:20 +0200
committerGünther Deschner <gd@samba.org>2010-05-26 15:14:20 +0200
commitab707cb9b3e62bd99afa0a82152064a6d75b032d (patch)
treeb54d175bcd2ff50b8cbb8d795a62c0e0103a0728
parent718718d0e7d4ffd1e706a2896cc385ae6dba24e2 (diff)
downloadsamba-ab707cb9b3e62bd99afa0a82152064a6d75b032d.tar.gz
samba-ab707cb9b3e62bd99afa0a82152064a6d75b032d.tar.bz2
samba-ab707cb9b3e62bd99afa0a82152064a6d75b032d.zip
s3-printing: fix buildwarning in publishing code after registry changes.
Guenther
-rw-r--r--source3/libads/ldap_printer.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/libads/ldap_printer.c b/source3/libads/ldap_printer.c
index 48db5ca7d2..0aa21badf4 100644
--- a/source3/libads/ldap_printer.c
+++ b/source3/libads/ldap_printer.c
@@ -122,7 +122,7 @@ ADS_STATUS ads_add_printer_entry(ADS_STRUCT *ads, char *prt_dn,
map a REG_SZ to an ldap mod
*/
static bool map_sz(TALLOC_CTX *ctx, ADS_MODLIST *mods,
- const struct regval_blob *value)
+ struct regval_blob *value)
{
char *str_value = NULL;
size_t converted_size;
@@ -149,7 +149,7 @@ static bool map_sz(TALLOC_CTX *ctx, ADS_MODLIST *mods,
map a REG_DWORD to an ldap mod
*/
static bool map_dword(TALLOC_CTX *ctx, ADS_MODLIST *mods,
- const struct regval_blob *value)
+ struct regval_blob *value)
{
char *str_value = NULL;
ADS_STATUS status;
@@ -168,7 +168,7 @@ static bool map_dword(TALLOC_CTX *ctx, ADS_MODLIST *mods,
map a boolean REG_BINARY to an ldap mod
*/
static bool map_bool(TALLOC_CTX *ctx, ADS_MODLIST *mods,
- const struct regval_blob *value)
+ struct regval_blob *value)
{
char *str_value;
ADS_STATUS status;
@@ -188,7 +188,7 @@ static bool map_bool(TALLOC_CTX *ctx, ADS_MODLIST *mods,
map a REG_MULTI_SZ to an ldap mod
*/
static bool map_multi_sz(TALLOC_CTX *ctx, ADS_MODLIST *mods,
- const struct regval_blob *value)
+ struct regval_blob *value)
{
char **str_values = NULL;
size_t converted_size;
@@ -229,7 +229,7 @@ static bool map_multi_sz(TALLOC_CTX *ctx, ADS_MODLIST *mods,
struct valmap_to_ads {
const char *valname;
- bool (*fn)(TALLOC_CTX *, ADS_MODLIST *, const struct regval_blob *);
+ bool (*fn)(TALLOC_CTX *, ADS_MODLIST *, struct regval_blob *);
};
/*