18edb3c
--- 0ad-0.0.21-alpha/source/gui/CDropDown.cpp.orig	2017-07-17 18:52:09.775883922 +0100
18edb3c
+++ 0ad-0.0.21-alpha/source/gui/CDropDown.cpp	2017-07-17 18:52:13.235881914 +0100
18edb3c
@@ -345,7 +345,7 @@
18edb3c
 					int diff = 0;
18edb3c
 					for (size_t j = 0; j < m_InputBuffer.length(); ++j)
18edb3c
 					{
18edb3c
-						diff = abs(pList->m_Items[i].GetOriginalString().LowerCase()[j] - (int)m_InputBuffer[j]);
18edb3c
+						diff = abs((int)pList->m_Items[i].GetOriginalString().LowerCase()[j] - (int)m_InputBuffer[j]);
18edb3c
 						if (diff == 0)
18edb3c
 							indexOfDifference = j+1;
18edb3c
 						else