1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-16 04:45:17 +03:00

Remove a warning

This commit is contained in:
3djc 2020-02-03 08:50:46 +01:00
parent e96a76ff76
commit ab33670e17

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;
}