diff options
Diffstat (limited to 'source3/passdb/pdb_sql.c')
-rw-r--r-- | source3/passdb/pdb_sql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_sql.c b/source3/passdb/pdb_sql.c index 3cf34df812..f52888bfa9 100644 --- a/source3/passdb/pdb_sql.c +++ b/source3/passdb/pdb_sql.c @@ -526,7 +526,7 @@ char *sql_account_query_update(TALLOC_CTX *mem_ctx, const char *location, const config_value_write(location, "logon hours column", CONFIG_LOGON_HOURS), - pdb_get_hours(newpwd)); + (const char *)pdb_get_hours(newpwd)); } if (!some_field_affected) { |