13
0

fix "warning: this decimal constant is unsigned only in ISO C90"

This commit is contained in:
Robin Gareus 2016-05-05 01:28:17 +02:00
parent b402e12d54
commit ffc9901807

View File

@ -380,7 +380,7 @@ LuaBindings::common (lua_State* L)
.addVoidConstructor ()
.addFunction ("get", static_cast<uint32_t(ChanMapping::*)(DataType, uint32_t) const>(&ChanMapping::get))
.addFunction ("set", &ChanMapping::set)
.addConst ("Invalid", 4294967295) // UINT32_MAX
.addConst ("Invalid", 4294967295U) // UINT32_MAX
.endClass ()
.beginNamespace ("Properties")