summaryrefslogtreecommitdiff
path: root/tools/tmxcopy/map.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/tmxcopy/map.hpp')
-rw-r--r--tools/tmxcopy/map.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tmxcopy/map.hpp b/tools/tmxcopy/map.hpp
index 3be932ab..f3c0d1d4 100644
--- a/tools/tmxcopy/map.hpp
+++ b/tools/tmxcopy/map.hpp
@@ -159,7 +159,7 @@ class Map
int save(std::string filename);
- int getNumberOfLayers() { return mLayers.size(); }
+ size_t getNumberOfLayers() { return mLayers.size(); }
Layer* getLayer(size_t num) { return mLayers.at(num); }
Layer* getLayer(std::string name);