diff options
Diffstat (limited to 'cosv/inc')
-rw-r--r-- | cosv/inc/cosv/comfunc.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cosv/inc/cosv/comfunc.hxx b/cosv/inc/cosv/comfunc.hxx index 63ccf425e134..ea9badcb454a 100644 --- a/cosv/inc/cosv/comfunc.hxx +++ b/cosv/inc/cosv/comfunc.hxx @@ -2,9 +2,9 @@ * * $RCSfile: comfunc.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: np $ $Date: 2002-03-22 10:19:07 $ + * last change: $Author: np $ $Date: 2002-03-22 10:22:47 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -117,7 +117,7 @@ switch_endian( NUMTYPE & o_rNumber, const NUMTYPE & i_rNumber ) { char * pFront = reinterpret_cast< char* >(&o_rNumber); - const char * pBack = reinterpret_cast< char* >(&i_rNumber) + (sizeof(NUMTYPE) - 1); + const char * pBack = reinterpret_cast< const char* >(&i_rNumber) + (sizeof(NUMTYPE) - 1); for ( unsigned int p = sizeof(NUMTYPE); p != 0; --p ) { |