Commit 25c2b939 authored by Davis King's avatar Davis King

Added a cast to avoid a warning from visual studio 2013

parent 8c7a4fa0
......@@ -560,7 +560,7 @@ namespace dlib
}
}
if (neighbors.size() != 0)
neighbors[cur_node] = std::make_pair(start_idx, edges.size());
neighbors[cur_node] = std::make_pair(start_idx, (unsigned long)edges.size());
}
// ----------------------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment