lemon/radix_sort.h
changeset 1328 d51126dc39fa
parent 1270 dceba191c00d
     1.1 --- a/lemon/radix_sort.h	Thu Apr 02 12:57:18 2015 +0200
     1.2 +++ b/lemon/radix_sort.h	Thu Apr 02 13:36:16 2015 +0200
     1.3 @@ -328,7 +328,7 @@
     1.4        typedef std::allocator<Key> Allocator;
     1.5        Allocator allocator;
     1.6  
     1.7 -      int length = std::distance(first, last);
     1.8 +      int length = static_cast<int>(std::distance(first, last));
     1.9        Key* buffer = allocator.allocate(2 * length);
    1.10        try {
    1.11          bool dir = true;