summaryrefslogtreecommitdiff
path: root/tools/debugserver/source/RNBServices.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/debugserver/source/RNBServices.cpp')
-rw-r--r--tools/debugserver/source/RNBServices.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/debugserver/source/RNBServices.cpp b/tools/debugserver/source/RNBServices.cpp
index d0b7e099d2383..9f90f349f3afb 100644
--- a/tools/debugserver/source/RNBServices.cpp
+++ b/tools/debugserver/source/RNBServices.cpp
@@ -220,7 +220,7 @@ int ListApplications(std::string &plist, bool opt_runningApps,
CFIndex size = ::CFDataGetLength(plistData.get());
const UInt8 *bytes = ::CFDataGetBytePtr(plistData.get());
if (bytes != NULL && size > 0) {
- plist.assign((char *)bytes, size);
+ plist.assign((const char *)bytes, size);
return 0; // Success
} else {
DNBLogError("empty application property list.");