Remove more compilation warnings

This commit is contained in:
Léa Saviot
2018-10-12 17:04:11 +02:00
committed by Émilie Feral
parent 81e377d8f2
commit 4582975661
3 changed files with 3 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ void VariableBoxController::ContentViewController::didEnterResponderChain(Respon
}
static bool shouldAddObject(const char * name, int maxLength) {
if (strlen(name)+1 > maxLength) {
if (strlen(name)+1 > (size_t)maxLength) {
return false;
}
assert(name != nullptr);