diff --git a/src/include/pathfinder.h b/src/include/pathfinder.h
index 218942da3..525062e88 100644
--- a/src/include/pathfinder.h
+++ b/src/include/pathfinder.h
@@ -134,7 +134,7 @@ enum VisitResult {
 class TerrainTraversal
 {
 public:
-	typedef short unsigned int dataType;
+	typedef short int dataType;
 public:
 	void SetSize(unsigned int width, unsigned int height);
 	void Init();