Permalink
Browse files

Fix build on Visual Studio 2008

  • Loading branch information...
1 parent 970fc79 commit 90609ced0b32670856ff41793243da1889af7603 @thomasmoelhave committed May 26, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 doc/code/progress3.inl
View
@@ -1,13 +1,14 @@
#include <tpie/dummy_progress.h>
+#include <tpie/types.h>
#include <tpie/progress_indicator_arrow.h>
tpie::file_stream<int> fs;
-uint64_t item_count;
+tpie::uint64_t item_count;
template <bool use_progress>
void scanner(typename tpie::progress_types<use_progress>::base * pi) {
pi->init(item_count);
- for (uint64_t i = 0; i < item_count; ++i) {
+ for (tpie::uint64_t i = 0; i < item_count; ++i) {
fs.read();
pi->step();
}

0 comments on commit 90609ce

Please sign in to comment.