From ba6788442c4a3615513e3edf5268e2a5886469c5 Mon Sep 17 00:00:00 2001
From: Jens-Heiner Rechtien
Date: Tue, 20 Jun 2006 04:47:00 +0000
Subject: INTEGRATION: CWS warnings01 (1.6.8); FILE MERGED 2006/03/06 16:08:06
pl 1.6.8.2: #i55991# removed warnings for windows platform 2005/10/14
12:29:09 pl 1.6.8.1: #i55991# remove warnings due to pragma hdrstop
---
rsc/source/parser/rscpar.cxx | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
(limited to 'rsc')
diff --git a/rsc/source/parser/rscpar.cxx b/rsc/source/parser/rscpar.cxx
index 9f35e644e15f..2a115334dfcc 100644
--- a/rsc/source/parser/rscpar.cxx
+++ b/rsc/source/parser/rscpar.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: rscpar.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 13:51:12 $
+ * last change: $Author: hr $ $Date: 2006-06-20 05:47:00 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -33,8 +33,6 @@
*
************************************************************************/
/****************** I N C L U D E S **************************************/
-#pragma hdrstop
-
// C and C++ Includes.
#include
@@ -206,9 +204,9 @@ void RscFileInst::GetNewLine()
pLine[ nLen++ ] = pInput[ nInputPos++ ];
if( nLen > 2 )
{
- if( pLine[nLen-3] == (char)0xef &&
- pLine[nLen-2] == (char)0xbb &&
- pLine[nLen-1] == (char)0xbf )
+ if( (unsigned char)pLine[nLen-3] == 0xef &&
+ (unsigned char)pLine[nLen-2] == 0xbb &&
+ (unsigned char)pLine[nLen-1] == 0xbf )
{
nLen -= 3;
}
--
cgit