summaryrefslogtreecommitdiff
path: root/src/ai/ai_config.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai/ai_config.hpp')
-rw-r--r--src/ai/ai_config.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/ai_config.hpp b/src/ai/ai_config.hpp
index ba76a3add..39b680f1c 100644
--- a/src/ai/ai_config.hpp
+++ b/src/ai/ai_config.hpp
@@ -105,7 +105,7 @@ public:
* Convert the custom settings to a string that can be stored in the config
* file or savegames.
*/
- void SettingsToString(char *string, int size);
+ void SettingsToString(char *string, size_t size);
private:
const char *name;