summaryrefslogtreecommitdiff
path: root/sal/textenc
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2005-01-27 10:15:34 +0000
committerOliver Bolte <obo@openoffice.org>2005-01-27 10:15:34 +0000
commita64ef795e7e6284f2fcde3ddc52271631ec99541 (patch)
tree7ad722dfeb68d8522c7f8eefe567e820deb2c443 /sal/textenc
parent52d81db0e71590dadc36a19f3a404fa20dfb535f (diff)
INTEGRATION: CWS kso14 (1.3.84); FILE MERGED
2005/01/19 16:39:02 sb 1.3.84.1: #i40979# Get rid of GCC warnings: use of cast expression as lvalue is deprecated; patch supplied by cmc.
Diffstat (limited to 'sal/textenc')
-rw-r--r--sal/textenc/convertiso2022kr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/textenc/convertiso2022kr.c b/sal/textenc/convertiso2022kr.c
index 3ff3c3fb8e38..3d91584e8627 100644
--- a/sal/textenc/convertiso2022kr.c
+++ b/sal/textenc/convertiso2022kr.c
@@ -2,9 +2,9 @@
*
* $RCSfile: convertiso2022kr.c,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: rt $ $Date: 2004-06-17 11:41:32 $
+ * last change: $Author: obo $ $Date: 2005-01-27 11:15:34 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -161,7 +161,7 @@ sal_Size ImplConvertIso2022KrToUnicode(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_KR_TO_UNICODE_STATE_ASCII: