Author: elemings
Revision: 659253
Modified property: svn:log
Modified: svn:log at Fri May 30 13:28:54 2008
------------------------------------------------------------------------------
--- svn:log (original)
+++ svn:log Fri May 30 13:28:54 2008
@@ -12,9 +12,9 @@
* tests/src/thread.cpp (rw_thread_pool): First parameter in
rw_alarm() is `unsigned'. Explicit cast `size_t' timeout value
to silence warning.
- * tests/src/value.cpp (_rw_fmtxarrayv),
- tests/src/char.cpp (_rw_fmtstringv): Explicitly cast `long'
+ * tests/src/value.cpp (_rw_fmtxarrayv): Explicitly cast `long'
return value from strtol() function to `int' to silence warning.
+ * tests/src/char.cpp (_rw_fmtstringv): Likewise.
* tests/src/rand.cpp (rw_seed32): Explicitly cast `clock_t'
return value from clock() function to `unsigned' value.
* tests/src/cmdopt.cpp (_rw_getbounds, _rw_getarg): Explicitly
@@ -30,7 +30,7 @@
`rw_pid_t' type to system `pid_t' type used by first parameter
of waitpid() function. Also cast `time_t' expression to `int'
type of local variable `delta'.
- (rw_process_kill): Cast `size_t' expression to `unsigned' type
+ (rw_process_kill): Cast `size_t' expression to `unsigned' type
of `sigcount' variable. Cast `rw_pid_t' value to system's
`pid_t' type used by first parameter of kill() function.
* tests/src/opt_trace.cpp (_rw_setopt_trace_mask): Changed type
@@ -39,11 +39,8 @@
* tests/algorithms/25.generate.cpp (test_generate_n): Explicitly
convert `size_t' value to `int' type to silence 64-bit conversion
warnings.
- * tests/algorithms/25.random.shuffle.cpp (test_random_shuffle):
- Replaced `size_t' type for line parameters with `int' type.
- * tests/algorithms/25.fill.cpp (test_fill_n),
- tests/algorithms/25.generate.cpp (test_generate_n): First
- parameter in `Size' constructor should be an `int'.
+ * tests/algorithms/25.fill.cpp (test_fill_n): First parameter in
+ `Size' constructor should be an `int'.
* tests/algorithms/25.random.shuffle.cpp (test_random_shuffle):
Change line parameter from `size_t' type to `int' type.
@@ -51,7 +48,7 @@
expressions involving `UserClass::n_total_copy_ctor_' and
`UserClass::n_total_op_assign_' members to `int' type of lhs of
assignment.
- (test_erase): Cast `size_t' argument used as 7th parameter in
+ (test_erase): Cast `size_t' argument used as 7th parameter in
exception_loop() function to `int' type.
* tests/containers/23.bitset.cons.cpp (test_string_ctor): Cast
result of pointer arithmetic expression to `int' type of rhs of
@@ -69,16 +66,16 @@
* tests/localization/22.locale.num.get.cpp (test_errno)
[TEST_ERRNO]: Fourth from last parameter type in do_test()
function is an `int'. Cast `size_t' result of sizeof operator.
- (test_long): Cast `size_t' result from sizeof operator to
+ (test_long): Cast `size_t' result from sizeof operator to
`int' type of local `NC' variable. Define INTSIZE() macro to
cast `size_t' result from sizeof operator to `int' type in test
cases. (This parameter defaults to negative value or its type
would be changed to `size_t' type.)
- (test_pvoid) [PVOIDSTR], (test_ldbl): Use INSTIZE() macro.
+ (test_pvoid) [PVOIDSTR], (test_ldbl): Use INSTIZE() macro.
* tests/numerics/26.c.math.cpp (check_bits): Changed `unsigned'
parameter type to `size_t' parameter type.
- (test_behavior): Remove SIZE() macro and replaced with sizeof
+ (test_behavior): Remove SIZE() macro and replaced with sizeof
operator.
* tests/regress/24.operations.stdcxx-234.cpp (main): Cast
@@ -94,7 +91,7 @@
* util/locale.cpp (print_toupper, print_tolower): Cast return
value of _RW::__rw_ctype_t::wtoupper_s() function to `int'
return type of function.
- (print_charmap): Change loop index type from `size_t' to
+ (print_charmap): Change loop index type from `size_t' to
`unsigned'.
* util/numeric.cpp (Def::write_numeric): Same change as above
to monetary and time for `num_punct_out_' members.
@@ -105,26 +102,26 @@
function to `int' return type of function.
* util/cmdopt.cpp: Explicitly cast return value of sysconf()
function to `float' type used by `TICKS_PER_SEC' global.
- (eval_options): Cast return value of strtol() function to
+ (eval_options): Cast return value of strtol() function to
`unsigned' type. Second parameter of get_long_val() function
expects `unsigned' type (go figure). Cast return value of
sizeof operator. exit() function expects `int' status code.
Parameter type of rw_sleep() function is `int'.
* util/codecvt.cpp (gen_wchar_tables, gen_xlit_data): Cast
string::size_type values to `unsigned' type of offset variables.
- (write_codecvt): Add UINT() macro for casting values to
+ (write_codecvt): Add UINT() macro for casting values to
`unsigned' type expected by lhs of several assignments.
* util/charmap.cp (Charmap::increment_wchar): Cast
string::size_type values to `int' type of local `last_elm' which
can be negative.
- (increment_encoding): Cast return value of convert_escape()
+ (increment_encoding): Cast return value of convert_escape()
function to `unsigned' type of `last_byte' variable.
* util/collate.cpp (Def::process_weights): Change loop index
type from `size_t' to `int'.
- (Def::write_collate): Cast wstring::size_type and size of
+ (Def::write_collate): Cast wstring::size_type and size of
intrinsic types to `unsigned' type. Also moved definition of
local variable `i' closer to point of use.
- (Def::get_weight): Changed type of local `c' from `size_t' to
+ (Def::get_weight): Changed type of local `c' from `size_t' to
`unsigned'. Cast return value of convert_escape() function to
`unsigned' type of `weight' array elements.