aboutsummaryrefslogtreecommitdiffhomepage
path: root/debugger/debuggermain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'debugger/debuggermain.cpp')
-rw-r--r--debugger/debuggermain.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/debugger/debuggermain.cpp b/debugger/debuggermain.cpp
index 8440052d88..f749911a98 100644
--- a/debugger/debuggermain.cpp
+++ b/debugger/debuggermain.cpp
@@ -29,7 +29,7 @@ int main(int argc, char *argv[]) {
QStringList::const_iterator iter = argList.begin();
- SkString commandName(iter->toAscii());
+ SkString commandName(iter->toAscii().data());
++iter; // skip the command name
for ( ; iter != argList.end(); ++iter) {
@@ -37,7 +37,7 @@ int main(int argc, char *argv[]) {
usage(commandName.c_str());
return -1;
} else if (input.isEmpty()) {
- input = SkString(iter->toAscii());
+ input = SkString(iter->toAscii().data());
} else {
usage(commandName.c_str());
return -1;