diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-26 15:32:12 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-26 15:33:39 +0100 |
commit | 0c141f2ed5219e7329fd94681d68e2205e2ed285 (patch) | |
tree | 5f93e6e8edb298785881313497d110379b78d235 /ucb/source/ucp/webdav-neon/NeonUri.cxx | |
parent | a98c1692a6f98d73b38692131eebe7acce963299 (diff) |
const_cast: convert some C-style casts and remove some redundant ones
Change-Id: I6a27fd990895ff36b35d2de6278ca0416e6c00f7
Diffstat (limited to 'ucb/source/ucp/webdav-neon/NeonUri.cxx')
-rw-r--r-- | ucb/source/ucp/webdav-neon/NeonUri.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ucb/source/ucp/webdav-neon/NeonUri.cxx b/ucb/source/ucp/webdav-neon/NeonUri.cxx index d378cfb46ddf..596293199a20 100644 --- a/ucb/source/ucp/webdav-neon/NeonUri.cxx +++ b/ucb/source/ucp/webdav-neon/NeonUri.cxx @@ -49,21 +49,21 @@ using namespace webdav_ucp; namespace { -const ne_uri g_sUriDefaultsHTTP = { (char *) "http", +const ne_uri g_sUriDefaultsHTTP = { const_cast<char *>("http"), NULL, NULL, DEFAULT_HTTP_PORT, NULL, NULL, NULL }; -const ne_uri g_sUriDefaultsHTTPS = { (char *) "https", +const ne_uri g_sUriDefaultsHTTPS = { const_cast<char *>("https"), NULL, NULL, DEFAULT_HTTPS_PORT, NULL, NULL, NULL }; -const ne_uri g_sUriDefaultsFTP = { (char *) "ftp", +const ne_uri g_sUriDefaultsFTP = { const_cast<char *>("ftp"), NULL, NULL, DEFAULT_FTP_PORT, |