From 3c719298b162a463fead76392120b4f9396f366f Mon Sep 17 00:00:00 2001 From: "blizzard%redhat.com" Date: Wed, 21 Jun 2000 20:22:55 +0000 Subject: [PATCH] try to fix solaris git-svn-id: svn://10.0.0.236/trunk@72800 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/widget/src/gtk/nsGtkMozRemoteHelper.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mozilla/widget/src/gtk/nsGtkMozRemoteHelper.cpp b/mozilla/widget/src/gtk/nsGtkMozRemoteHelper.cpp index 748c53a08d4..8596a2615a2 100644 --- a/mozilla/widget/src/gtk/nsGtkMozRemoteHelper.cpp +++ b/mozilla/widget/src/gtk/nsGtkMozRemoteHelper.cpp @@ -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);