summaryrefslogtreecommitdiffstats
path: root/adb/adb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'adb/adb.cpp')
-rw-r--r--adb/adb.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/adb/adb.cpp b/adb/adb.cpp
index c09aee3..9f9e6bd 100644
--- a/adb/adb.cpp
+++ b/adb/adb.cpp
@@ -726,15 +726,15 @@ int handle_forward_request(const char* service, transport_type ttype, char* seri
int createForward = strncmp(service, "kill", 4);
int no_rebind = 0;
- local = strchr(service, ':') + 1;
+ local = (char*) strchr(service, ':') + 1;
// Handle forward:norebind:<local>... here
if (createForward && !strncmp(local, "norebind:", 9)) {
no_rebind = 1;
- local = strchr(local, ':') + 1;
+ local = (char*) strchr(local, ':') + 1;
}
- remote = strchr(local,';');
+ remote = (char*) strchr(local,';');
if (createForward) {
// Check forward: parameter format: '<local>;<remote>'