diff options
author | Kurt Zenker <kz@openoffice.org> | 2006-07-19 15:25:28 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2006-07-19 15:25:28 +0000 |
commit | a42a92dcb6fd0c1d17dc8d1f0233eae996a28093 (patch) | |
tree | 643def41de8f5e846b6eba083379c1fe3d87471a /jvmfwk | |
parent | 61969e5236835f2ed7e53d9475f39ccc34b31f70 (diff) |
INTEGRATION: CWS warningfixes02 (1.5.4); FILE MERGED
2006/06/30 11:57:01 sb 1.5.4.1: #i66577# Made the code compile (warning-free) on a unxlngi6.pro GCC 4.1.1 Linux box.
Diffstat (limited to 'jvmfwk')
-rw-r--r-- | jvmfwk/plugins/sunmajor/pluginlib/diagnostics.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/diagnostics.h b/jvmfwk/plugins/sunmajor/pluginlib/diagnostics.h index 1ebacab5772c..d0d7c0da031e 100644 --- a/jvmfwk/plugins/sunmajor/pluginlib/diagnostics.h +++ b/jvmfwk/plugins/sunmajor/pluginlib/diagnostics.h @@ -4,9 +4,9 @@ * * $RCSfile: diagnostics.h,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: hr $ $Date: 2006-06-20 00:08:30 $ + * last change: $Author: kz $ $Date: 2006-07-19 16:25:28 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -100,7 +100,9 @@ inline void jfw_warning2(bool condition, const sal_Char * pzFile, sal_Int32 line sal_Char * pzMessage) { if (! condition) - fprintf(stderr, "%s\n File: %s\n Line: %i", pzMessage, pzFile, line); + fprintf( + stderr, "%s\n File: %s\n Line: %ld", pzMessage, pzFile, + sal::static_int_cast< unsigned long >(line)); } inline void jfw_trace(rtl::OUString message) |