Build: Resolve warnings from flod build

This commit is contained in:
Paul Beckingham 2015-03-29 18:21:33 -04:00
parent 690d9493f0
commit 9630b76990
2 changed files with 5 additions and 1 deletions

View file

@ -33,7 +33,7 @@
#include <utf8.h>
static const std::string uuid_pattern = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";
static const int uuid_min_length = 8;
static const unsigned int uuid_min_length = 8;
std::string Lexer::dateFormat = "";
bool Lexer::isoEnabled = true;
@ -158,6 +158,8 @@ const std::string Lexer::typeName (const Lexer::Type& type)
case Lexer::Type::date: return "date";
case Lexer::Type::duration: return "duration";
}
return "unknown";
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -1964,6 +1964,8 @@ Variant::operator std::string () const
case type_unknown:
throw std::string (STRING_VARIANT_RENDER_UNK);
}
return "";
}
////////////////////////////////////////////////////////////////////////////////