--- a/sources/mystring.h Mon Jan 11 16:44:26 2016 +0200 +++ b/sources/mystring.h Mon Jan 11 16:58:59 2016 +0200 @@ -77,7 +77,7 @@ int length() const { return m_string.length(); } bool mask_against (const String &pattern) const; String md5() const; - String mid (long a, long b) const; + String mid (int a, int b) const; String right (int length) const; StringList split (const String &del) const; StringList split (char del) const;