summaryrefslogtreecommitdiffstats
path: root/jvmfwk/plugins/sunmajor/pluginlib/diagnostics.h
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2006-07-19 15:25:28 +0000
committerKurt Zenker <kz@openoffice.org>2006-07-19 15:25:28 +0000
commita42a92dcb6fd0c1d17dc8d1f0233eae996a28093 (patch)
tree643def41de8f5e846b6eba083379c1fe3d87471a /jvmfwk/plugins/sunmajor/pluginlib/diagnostics.h
parentINTEGRATION: CWS warningfixes02 (1.6.2); FILE MERGED (diff)
downloadcore-a42a92dcb6fd0c1d17dc8d1f0233eae996a28093.tar.gz
core-a42a92dcb6fd0c1d17dc8d1f0233eae996a28093.zip
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/plugins/sunmajor/pluginlib/diagnostics.h')
-rw-r--r--jvmfwk/plugins/sunmajor/pluginlib/diagnostics.h8
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)