From 9270d94e7e116cc613bccd69d3b4bda887c54788 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 16 May 2014 17:38:59 +0000 Subject: [PATCH] (svn r26589) -Fix: SIGSEGV on all big endian architectures that tried to load e.g. the 1.4 intro game or anything else with more than 0 linkgraph nodes that was saved on little endian --- src/saveload/linkgraph_sl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/saveload/linkgraph_sl.cpp b/src/saveload/linkgraph_sl.cpp index d9b2b9093c..4988eb2ed7 100644 --- a/src/saveload/linkgraph_sl.cpp +++ b/src/saveload/linkgraph_sl.cpp @@ -23,7 +23,7 @@ typedef LinkGraph::BaseEdge Edge; const SettingDesc *GetSettingDescription(uint index); -static uint _num_nodes; +static uint16 _num_nodes; /** * Get a SaveLoad array for a link graph.