aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/Graph.cpp
diff options
context:
space:
mode:
authorRob Hughes <robert.hughes@arm.com>2020-04-24 11:41:34 +0100
committerRob Hughes <robert.hughes@arm.com>2020-05-19 10:54:15 +0000
commitb98032f6a46072fee9a2bfcbe631b8193ced567d (patch)
tree1de423d3271e9ecbc0d02b8f08751c9eefa29612 /src/armnn/Graph.cpp
parented324051794a262a7694acfb0a378724d6ba8401 (diff)
downloadarmnn-b98032f6a46072fee9a2bfcbe631b8193ced567d.tar.gz
Fix some Windows build errors:
* Cast to correct datatype for Winsock API * Replace non-standard u_int32_t * Add missing link dependency of timelineDecoder on armnn * Don't try to link pthread if the platform doesn't have it * Use abstracted Socket type rather than int * Link to WinSock DLL on windows Change-Id: I9ace4af50257ce1e3da92fb4c452f36775dac973 Signed-off-by: Robert Hughes <robert.hughes@arm.com>
Diffstat (limited to 'src/armnn/Graph.cpp')
-rw-r--r--src/armnn/Graph.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/armnn/Graph.cpp b/src/armnn/Graph.cpp
index ea9930bf11..c1bf1db038 100644
--- a/src/armnn/Graph.cpp
+++ b/src/armnn/Graph.cpp
@@ -378,7 +378,7 @@ void Graph::AddCompatibilityLayers(std::map<BackendId, std::unique_ptr<IBackendI
// Recalculate the connection index on the previous layer as we have just inserted into it.
const std::vector<InputSlot*>& newSourceConnections = srcOutputSlot.GetConnections();
- long newSrcConnectionIndex = std::distance(newSourceConnections.begin(),
+ auto newSrcConnectionIndex = std::distance(newSourceConnections.begin(),
std::find(newSourceConnections.begin(),
newSourceConnections.end(),
&compLayer->GetInputSlot(0)));