From 68d98acb920a49880662db0d20ccdf52edbc0151 Mon Sep 17 00:00:00 2001 From: Nat Goodspeed <nat@lindenlab.com> Date: Thu, 1 Dec 2016 08:44:52 -0500 Subject: [PATCH] DRTVWR-418: In 64 bits, storing size_t in an int is a no-no. --- indra/llcommon/lldependencies.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/llcommon/lldependencies.h b/indra/llcommon/lldependencies.h index de214a89436..db2bbab8b04 100644 --- a/indra/llcommon/lldependencies.h +++ b/indra/llcommon/lldependencies.h @@ -124,8 +124,8 @@ class LL_COMMON_API LLDependenciesBase virtual std::string describe(bool full=true) const; protected: - typedef std::vector< std::pair<int, int> > EdgeList; - typedef std::vector<int> VertexList; + typedef std::vector< std::pair<std::size_t, std::size_t> > EdgeList; + typedef std::vector<std::size_t> VertexList; VertexList topo_sort(int vertices, const EdgeList& edges) const; /** -- GitLab