merged
fixed all compiler warnings, at least one of which was likely to be a real bug (rt_linux.c ClonePacket function), per @schepanovsky's suggestion
merged