From d7d252f4ab9cfea4001b29f25982fd045524054c Mon Sep 17 00:00:00 2001 From: "jan.reininghaus" Date: Tue, 17 Dec 2013 10:23:58 +0000 Subject: signed comparison warning fix git-svn-id: https://phat.googlecode.com/svn/trunk@148 8e3bb3c2-eed4-f18f-5264-0b6c94e6926d --- include/phat/algorithms/block_spectral_sequence_reduction.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/phat/algorithms/block_spectral_sequence_reduction.h b/include/phat/algorithms/block_spectral_sequence_reduction.h index 398236e..2240c34 100644 --- a/include/phat/algorithms/block_spectral_sequence_reduction.h +++ b/include/phat/algorithms/block_spectral_sequence_reduction.h @@ -54,7 +54,7 @@ namespace phat { index row_begin = (cur_stripe - cur_pass) * block_size; index row_end = row_begin + block_size; unreduced_cols_next_pass[ cur_stripe ].clear(); - for( index idx = 0; idx < unreduced_cols_cur_pass[ cur_stripe ].size(); idx++ ) { + for( index idx = 0; idx < (index)unreduced_cols_cur_pass[ cur_stripe ].size(); idx++ ) { index cur_col = unreduced_cols_cur_pass[ cur_stripe ][ idx ]; index lowest_one = boundary_matrix.get_max_index( cur_col ); while( lowest_one != -1 && lowest_one >= row_begin && lowest_one < row_end && lowest_one_lookup[ lowest_one ] != -1 ) { -- cgit v1.2.3