Use size_t in dev::utf8::validate()

This commit is contained in:
Alex Beregszaszi
2016-08-08 20:05:31 +01:00
parent c157163441
commit f1df3dee53
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ namespace utf8
/// Validate an input for UTF8 encoding
/// @returns true if it is invalid and the first invalid position in invalidPosition
bool validate(std::string const& _input, int& _invalidPosition);
bool validate(std::string const& _input, size_t& _invalidPosition);
}