summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2005-01-27 10:15:20 +0000
committerOliver Bolte <obo@openoffice.org>2005-01-27 10:15:20 +0000
commit4a52715b2b148d6a0272f599395171882a033aa1 (patch)
tree31593b4e6d2ad72994e1348fd173dc672a0f3d0f /sal
parentecb67556e3511d7a5852f24e1b8d4e9e36d31afd (diff)
INTEGRATION: CWS kso14 (1.6.22); FILE MERGED
2005/01/19 16:39:01 sb 1.6.22.1: #i40979# Get rid of GCC warnings: use of cast expression as lvalue is deprecated; patch supplied by cmc.
Diffstat (limited to 'sal')
-rw-r--r--sal/textenc/convertiso2022jp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/textenc/convertiso2022jp.c b/sal/textenc/convertiso2022jp.c
index 3546e0f2f..b7bc147be 100644
--- a/sal/textenc/convertiso2022jp.c
+++ b/sal/textenc/convertiso2022jp.c
@@ -2,9 +2,9 @@
*
* $RCSfile: convertiso2022jp.c,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: obo $ $Date: 2005-01-05 13:44:28 $
+ * last change: $Author: obo $ $Date: 2005-01-27 11:15:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -155,7 +155,7 @@ sal_Size ImplConvertIso2022JpToUnicode(ImplTextConverterData const * pData,
for (; nConverted < nSrcBytes; ++nConverted)
{
sal_Bool bUndefined = sal_True;
- sal_uInt32 nChar = *((sal_uChar const *) pSrcBuf)++;
+ sal_uInt32 nChar = *(sal_uChar const *) pSrcBuf++;
switch (eState)
{
case IMPL_ISO_2022_JP_TO_UNICODE_STATE_ASCII: