Fix compiler warning found on VS 2008 64bit

This commit is contained in:
Jason Turner
2012-11-16 12:57:15 -07:00
parent afd27a4b01
commit f1a4c4c427

View File

@@ -569,7 +569,7 @@ namespace chaiscript
if (unsignedrequired && !unsigned_)
{
if (t_type == std::hex || t_type == std::oct)
if (t_type == &std::hex || t_type == &std::oct)
{
// with hex and octal we are happy to just make it unsigned
unsigned_ = true;