diff options
| author | Matthew Harmsen <mharmsen@redhat.com> | 2017-01-31 19:56:47 -0700 |
|---|---|---|
| committer | Matthew Harmsen <mharmsen@redhat.com> | 2017-01-31 19:56:47 -0700 |
| commit | 30e5295d75edd79f30f3c24b7d5576109de02b3d (patch) | |
| tree | 4276908d8c2a0e36f8ce58c7e505de52ddf0233f /base/tps-client/src/main/ConfigStore.cpp | |
| parent | 71ae20c42c62e09e7f0f576f21076051ec6eecd6 (diff) | |
| download | pki-30e5295d75edd79f30f3c24b7d5576109de02b3d.tar.gz pki-30e5295d75edd79f30f3c24b7d5576109de02b3d.tar.xz pki-30e5295d75edd79f30f3c24b7d5576109de02b3d.zip | |
Cast 'char *' to 'const char *' in C++ files.
Diffstat (limited to 'base/tps-client/src/main/ConfigStore.cpp')
| -rw-r--r-- | base/tps-client/src/main/ConfigStore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/tps-client/src/main/ConfigStore.cpp b/base/tps-client/src/main/ConfigStore.cpp index e526b4039..f91fb2c87 100644 --- a/base/tps-client/src/main/ConfigStore.cpp +++ b/base/tps-client/src/main/ConfigStore.cpp @@ -758,7 +758,7 @@ TPS_PUBLIC int ConfigStore::Commit(const bool backup, char *error_msg, int len) if (strrchr(m_cfg_file_path, '/') != NULL) { PR_snprintf((char *) basename, 256, "%s", strrchr(m_cfg_file_path, '/') +1); PR_snprintf((char *) dirname, PL_strlen(m_cfg_file_path) - PL_strlen(basename), "%s", m_cfg_file_path); - PL_strcat(dirname, '\0'); + PL_strcat(dirname, (const char *) '\0'); } else { PR_snprintf((char *) basename, 256, "%s", m_cfg_file_path); PR_snprintf((char *) dirname, 256, "."); |
