Skip to content

Commit

Permalink
Fix unsigned vs. signed warnings in sort_manager.h.
Browse files Browse the repository at this point in the history
  • Loading branch information
freekvw committed Sep 6, 2012
1 parent c33b559 commit f38000b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tpie/sort_manager.h
Expand Up @@ -710,7 +710,7 @@ void sort_manager<T,I,M>::merge_to_output(progress_indicator_base* indicator, tp
stream->seek(0);
}

stream_size_type check_size=0;
TPIE_OS_OFFSET check_size=0;
// For each new output stream, fill with merged runs.
// strange indexing is for the case that there are fewer than mrgArity
// output streams needed, and we use the LAST nOutputStreams. This
Expand Down Expand Up @@ -798,7 +798,7 @@ void sort_manager<T,I,M>::merge_to_output(progress_indicator_base* indicator, tp
outStream, -1, indicator);

if (indicator) indicator->done();
tp_assert(outStream->size() == nInputItems, "item count mismatch");
tp_assert((TPIE_OS_OFFSET)outStream->size() == nInputItems, "item count mismatch");

TP_LOG_DEBUG("merge cleanup\n");

Expand Down

0 comments on commit f38000b

Please sign in to comment.