summaryrefslogtreecommitdiff
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
commit52d81db0e71590dadc36a19f3a404fa20dfb535f (patch)
tree6740d9fae6f6e4d87362a584699c0d9750ff6bd4
parent22c4c605ea8b00e3c3966fadcd3e596812d02f0c (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.
-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 3546e0f2f5d5..b7bc147bea77 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: