summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2005-01-27 10:14:46 +0000
committerOliver Bolte <obo@openoffice.org>2005-01-27 10:14:46 +0000
commitd5f8353e4bacbb9154518edd71b40245ad8e4cde (patch)
tree0d579225068eefc6db0aa7c406ea00e9add7ccbd /sal
parent0f66a9e341f8870741beac36d34398566b8e8c98 (diff)
INTEGRATION: CWS kso14 (1.5.84); FILE MERGED
2005/01/19 16:39:00 sb 1.5.84.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/converteuctw.c6
-rw-r--r--sal/textenc/convertgb18030.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/sal/textenc/converteuctw.c b/sal/textenc/converteuctw.c
index afdc60da2..b8c5819eb 100644
--- a/sal/textenc/converteuctw.c
+++ b/sal/textenc/converteuctw.c
@@ -2,9 +2,9 @@
*
* $RCSfile: converteuctw.c,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: rt $ $Date: 2004-06-17 11:40:37 $
+ * last change: $Author: obo $ $Date: 2005-01-27 11:14:31 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -154,7 +154,7 @@ sal_Size ImplConvertEucTwToUnicode(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_EUC_TW_TO_UNICODE_STATE_0:
diff --git a/sal/textenc/convertgb18030.c b/sal/textenc/convertgb18030.c
index 27fd841cd..3a83f3e7b 100644
--- a/sal/textenc/convertgb18030.c
+++ b/sal/textenc/convertgb18030.c
@@ -2,9 +2,9 @@
*
* $RCSfile: convertgb18030.c,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: rt $ $Date: 2004-06-17 11:40:51 $
+ * last change: $Author: obo $ $Date: 2005-01-27 11:14:46 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -147,7 +147,7 @@ sal_Size ImplConvertGb18030ToUnicode(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_GB_18030_TO_UNICODE_STATE_0: