diff options
author | Radek Novacek <rnovacek@redhat.com> | 2013-07-25 10:11:50 +0200 |
---|---|---|
committer | Radek Novacek <rnovacek@redhat.com> | 2013-07-25 10:11:50 +0200 |
commit | 3c7dbda737bdbd6bbd46fe8f06afb9954c19a548 (patch) | |
tree | 4bb093207aba4a17fd487ccb26260e2de38e82d6 /src/account/LMI_AccountProvider.c | |
parent | c5767ebb8f72494bd422636cea462c41679e7f69 (diff) | |
download | openlmi-providers-3c7dbda737bdbd6bbd46fe8f06afb9954c19a548.tar.gz openlmi-providers-3c7dbda737bdbd6bbd46fe8f06afb9954c19a548.tar.xz openlmi-providers-3c7dbda737bdbd6bbd46fe8f06afb9954c19a548.zip |
Silence many compilation warnings
Mostly deprecation warnings and wrong 'const' handling.
Diffstat (limited to 'src/account/LMI_AccountProvider.c')
-rw-r--r-- | src/account/LMI_AccountProvider.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/account/LMI_AccountProvider.c b/src/account/LMI_AccountProvider.c index d7b0dac..9727923 100644 --- a/src/account/LMI_AccountProvider.c +++ b/src/account/LMI_AccountProvider.c @@ -84,7 +84,7 @@ static CMPIStatus LMI_AccountEnumInstances( long last_change, min_lifetime, max_lifetime, warn, inactive, expire; time_t last_login; CMPIStatus *rc = NULL; - char *password = NULL; + const char *password = NULL; luc = lu_start(NULL, lu_user, NULL, NULL, lu_prompt_console_quiet, NULL, &error); if (!luc) @@ -238,7 +238,7 @@ static CMPIStatus LMI_AccountModifyInstance( * Set up account expiration * Set up password expiration */ - char* value = NULL, *password = NULL; + const char* value = NULL, *password = NULL; CMPIString* vs = NULL; CMPIArray* ar = NULL; int arsize;/* used for password */ CMPIData data; |