> if( nCRC32 is not negative) > returnvalue = nCRC32 converted to UInteger > else > set leftmost bit to zero > convert to UInteger > add &H80000000UI > > >>
>public function GetUnsignedCRC() as UInteger > > dim uCRC as UInteger > if( nCRC32 >= 0 ) then > uCRC = CType(nCRC32 , UInteger) > else > uCRC = CType( (nCRC32 And &H7FFFFFFF), UInteger) + &H80000000UI > endif > > return uCRC >end function >The CRC32VFP class is already defined for UInteger. So, this is why I cannot understand why I should convert an UInteger into another UInteger in order to resolve that warning issue.