Remove a warning

This commit is contained in:
3djc
2020-02-03 08:50:46 +01:00
parent e96a76ff76
commit ab33670e17
+1 -1
View File
@@ -456,7 +456,7 @@ static int luaSportTelemetryPush(lua_State * L)
lua_pushboolean(L, outputTelemetryBuffer.isAvailable());
return 1;
}
else if (lua_gettop(L) > sizeof(SportTelemetryPacket) ) {
else if (lua_gettop(L) > int(sizeof(SportTelemetryPacket))) {
lua_pushboolean(L, false);
return 1;
}