diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2006-08-24 09:50:32 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2006-08-24 09:50:32 +0000 |
commit | 80b678a7be6570d76fe1b8f328713d573e3b5a29 (patch) | |
tree | 0d83944abbf60688486ff61ae652339cff6d42b5 /sal | |
parent | 79f2d57364d2056f90089e7aa549ffd4b6f049f2 (diff) |
INTEGRATION: CWS sb56 (1.17.6); FILE MERGED
2006/07/07 09:16:34 sb 1.17.6.1: #i67105# Made code compile (warning-free) with debug=x.
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/unx/profile.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sal/osl/unx/profile.c b/sal/osl/unx/profile.c index 7e73fd2e3641..ad3ee09bfd49 100644 --- a/sal/osl/unx/profile.c +++ b/sal/osl/unx/profile.c @@ -4,9 +4,9 @@ * * $RCSfile: profile.c,v $ * - * $Revision: 1.17 $ + * $Revision: 1.18 $ * - * last change: $Author: hr $ $Date: 2006-06-20 04:18:59 $ + * last change: $Author: ihi $ $Date: 2006-08-24 10:50:32 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -480,7 +480,8 @@ static sal_Bool writeProfileImpl(osl_TFile* pFile) } #if OSL_DEBUG_LEVEL > 1 - OSL_ASSERT(BytesWritten == nLen); + OSL_ASSERT( + BytesWritten >= 0 && SAL_INT_CAST(unsigned int, BytesWritten) == nLen); #endif free(pFile->m_pWriteBuf); |