From 1fd8afd57928883bcacec777a6bdcab13b173557 Mon Sep 17 00:00:00 2001 From: Davis King Date: Sun, 26 May 2013 15:02:29 -0400 Subject: [PATCH] Changed code to avoid compiler warning in visual studio. --- tools/python/src/sequence_segmenter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/src/sequence_segmenter.cpp b/tools/python/src/sequence_segmenter.cpp index 4ef5e17ed..534002cac 100644 --- a/tools/python/src/sequence_segmenter.cpp +++ b/tools/python/src/sequence_segmenter.cpp @@ -66,7 +66,7 @@ public: unsigned long position ) const { - for (long i = 0; i < x[position].size(); ++i) + for (unsigned long i = 0; i < x[position].size(); ++i) { set_feature(x[position][i].first, x[position][i].second); }