summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 03:27:36 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 03:27:36 +0000
commitc3ae214bf39e6539071061563ea990b6968d35f9 (patch)
tree2e8b4cf8932cd4f01b8b2c68624977bfc3e91ece /sal
parent11a1f537500062c0a5a9bf69b3fc190c936acf3e (diff)
INTEGRATION: CWS warnings01 (1.2.160); FILE MERGED
2005/09/14 15:19:06 sb 1.2.160.1: #i53898# Made code warning-free.
Diffstat (limited to 'sal')
-rw-r--r--sal/qa/rtl/random/rtl_random.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/qa/rtl/random/rtl_random.cxx b/sal/qa/rtl/random/rtl_random.cxx
index f63e03ba0d1d..92accb72f797 100644
--- a/sal/qa/rtl/random/rtl_random.cxx
+++ b/sal/qa/rtl/random/rtl_random.cxx
@@ -128,7 +128,7 @@ public:
memset(pBuffer, 0, nBufLen);
- rtlRandomError aError = rtl_random_addBytes(aPool, pBuffer, nBufLen);
+ rtl_random_addBytes(aPool, pBuffer, nBufLen);
t_print("%2x %2x %2x %2x\n", pBuffer[0], pBuffer[1], pBuffer[2], pBuffer[3]);
@@ -338,7 +338,7 @@ public:
/* rtlRandomError aError = */ rtl_random_getBytes(aPool, pBuffer, nBufLen);
// CPPUNIT_ASSERT_MESSAGE("wrong parameter", aError == rtl_Random_E_None);
- for (int i=0;i<nBufLen;i++)
+ for (sal_uInt32 i=0;i<nBufLen;i++)
{
aStat.addValue(pBuffer[i], 1);
}