What IDE version you use, and what exact wraning you've got?
Actually, in the code you mentioned, TLMDPtrUInt type is an alias for NativeUInt, which is of 64-bit size under x64 platform. PInteger - is also not an Integer, but a Pointer instead. So, nothing is actually wrong with this code.
Comments