try to fix solaris

git-svn-id: svn://10.0.0.236/trunk@72800 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
blizzard%redhat.com
2000-06-21 20:22:55 +00:00
parent 134fb8be7d
commit 3c719298b1

View File

@@ -249,9 +249,10 @@ nsGtkMozRemoteHelper::ParseCommand(const char *aCommand, char **aResponse)
origString.Truncate(end_command);
// get the action type
actionString = Substring(origString, 0, begin_command);
actionString = Substring(origString, (PRUint32)0, (PRUint32)begin_command);
commandString = Substring(origString, begin_command + 1, origString.Length() - begin_command - 1);
commandString = Substring(origString, (PRUint32)(begin_command + 1),
(PRUint32)(origString.Length() - begin_command - 1));
// convert the action to lower case and remove whitespace
actionString.Trim(" ", PR_TRUE, PR_TRUE);