diff options
author | Kurt Zenker <kz@openoffice.org> | 2006-07-19 15:42:39 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2006-07-19 15:42:39 +0000 |
commit | 727269d807060bbf7e032f79deb9ee61c5b352a3 (patch) | |
tree | 058cac26427632686e9d7982401dff29a568ce13 | |
parent | 7d033855a2652f4fbfe4f5745e7466f7cc28e761 (diff) |
INTEGRATION: CWS warningfixes02 (1.6.2); FILE MERGED
2006/06/30 12:16:38 sb 1.6.2.1: #i66577# Made the code compile (warning-free) on a unxlngi6.pro GCC 4.1.1 Linux box.
-rw-r--r-- | pyuno/source/module/pyuno_util.cxx | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/pyuno/source/module/pyuno_util.cxx b/pyuno/source/module/pyuno_util.cxx index 16c518a996b1..baafad996609 100644 --- a/pyuno/source/module/pyuno_util.cxx +++ b/pyuno/source/module/pyuno_util.cxx @@ -4,9 +4,9 @@ * * $RCSfile: pyuno_util.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: hr $ $Date: 2006-06-20 05:04:45 $ + * last change: $Author: kz $ $Date: 2006-07-19 16:42:39 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -153,16 +153,18 @@ void log( RuntimeCargo * cargo, sal_Int32 level, const char *str ) osl_getDateTimeFromTimeValue( &localTime, &localDateTime ); fprintf( cargo->logFile, - "%4i-%02i-%02i %02i:%02i:%02i,%03i [%s,tid %i]: %s\n", + "%4i-%02i-%02i %02i:%02i:%02i,%03lu [%s,tid %ld]: %s\n", localDateTime.Year, localDateTime.Month, localDateTime.Day, localDateTime.Hours, localDateTime.Minutes, localDateTime.Seconds, - localDateTime.NanoSeconds/1000000, + sal::static_int_cast< unsigned long >( + localDateTime.NanoSeconds/1000000), strLevel[level], - (sal_Int32) osl_getThreadIdentifier( 0), + sal::static_int_cast< long >( + (sal_Int32) osl_getThreadIdentifier( 0)), str ); } } |