diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-12-18 20:12:36 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-12-18 20:12:36 +0000 |
commit | ef5d0b5e97ec8e6fa395d377b09aa7755e345b4f (patch) | |
tree | 27916256fdeeb57d10d2f3d6948be5d71a703215 /tools/debugserver/source/RNBServices.cpp | |
parent | 76e0736e7fcfeb179779e49c05604464b1ccd704 (diff) |
Notes
Diffstat (limited to 'tools/debugserver/source/RNBServices.cpp')
-rw-r--r-- | tools/debugserver/source/RNBServices.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/debugserver/source/RNBServices.cpp b/tools/debugserver/source/RNBServices.cpp index d0b7e099d238..9f90f349f3af 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."); |