Message: Type '<pointer type>' possibly not convertible to type '<data type>' .
Possible error cause: This error occurs only when checking pool objects. An attempt was made to convert a pointer to an integer. Because the size of pointers in a library is unknown, errors may occur when using the library.
Error correction: Use the type __UXINT
or __XWORD
for platform-independent calculations with pointers.
Example of the error:
PROGRAM PLC_PRG VAR ptr : POINTER TO INT; dw : DWORD; END_VAR dw := ptr; --> C0033: Type 'POINTER TO INT‘ possibly not convertible to type 'DWORD‘.