From 457a56a520b54a2a0d031552f72595ae0cd5a055 Mon Sep 17 00:00:00 2001 From: "cvshook%sicking.cc" Date: Fri, 24 Mar 2006 04:02:58 +0000 Subject: [PATCH] Attempt to make gcc happy. --- content/base/src/nsTextFragment.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/base/src/nsTextFragment.cpp b/content/base/src/nsTextFragment.cpp index 6e7eabb6ed3..a5f6411fc16 100644 --- a/content/base/src/nsTextFragment.cpp +++ b/content/base/src/nsTextFragment.cpp @@ -263,7 +263,7 @@ nsTextFragment::CopyTo(PRUnichar *aDest, PRInt32 aOffset, PRInt32 aCount) const char *cp = m1b + aOffset; const char *end = cp + aCount; while (cp < end) { - *aDest++ = unsigned char(*cp++); + *aDest++ = (unsigned char)(*cp++); } } }