; TODO: Review remaining BYTE/USHORT usage for attr, color
           and char. Char is sometimes represented by UCHAR,
           sometimes by char and sometimes by USHORT. Color is
           represented by both int and BYTE. attr is BYTE, which
           can be changed to hbU8.

+ Also 'int' is used to represent a char, at low level.

These are MSVC warnings still present in RTL / GT:
---
../../gtapi.c(177) : warning C4244: 'argument' : conversion from 'int' to 'BYTE', possible loss of data ../../gtapi.c(195) : warning C4244: 'argument' : conversion from 'int' to 'BYTE', possible loss of data ../../gtapi.c(213) : warning C4244: 'argument' : conversion from 'int' to 'BYTE', possible loss of data ../../gtapi.c(234) : warning C4244: 'argument' : conversion from 'int' to 'BYTE', possible loss of data ../../gtapi.c(602) : warning C4244: 'argument' : conversion from 'int' to 'BYTE', possible loss of data ../../gtapi.c(776) : warning C4244: 'argument' : conversion from 'int' to 'BYTE', possible loss of data ../../gtapi.c(846) : warning C4244: 'argument' : conversion from 'int' to 'BYTE', possible loss of data ../../gtapi.c(864) : warning C4244: 'argument' : conversion from 'int' to 'BYTE', possible loss of data ../../gtapi.c(1256) : warning C4244: 'argument' : conversion from 'int' to 'BYTE', possible loss of data ../../gtapi.c(1256) : warning C4244: 'argument' : conversion from 'int' to 'BYTE', possible loss of data ../../gtapi.c(1276) : warning C4244: 'argument' : conversion from 'int' to 'BYTE', possible loss of data ../../hbgtcore.c(137) : warning C4244: '=' : conversion from 'int' to 'USHORT', possible loss of data ../../hbgtcore.c(138) : warning C4244: '=' : conversion from 'int' to 'BYTE', possible loss of data ../../hbgtcore.c(324) : warning C4244: '=' : conversion from 'int' to 'USHORT', possible loss of data ../../hbgtcore.c(799) : warning C4244: 'argument' : conversion from 'int' to 'BYTE', possible loss of data ../../hbgtcore.c(927) : warning C4244: 'argument' : conversion from 'int' to 'BYTE', possible loss of data ../../hbgtcore.c(927) : warning C4244: 'argument' : conversion from 'int' to 'BYTE', possible loss of data ../../hbgtcore.c(936) : warning C4244: 'argument' : conversion from 'int' to 'BYTE', possible loss of data ../../hbgtcore.c(936) : warning C4244: 'argument' : conversion from 'int' to 'BYTE', possible loss of data ../../hbgtcore.c(981) : warning C4244: '=' : conversion from 'int' to 'USHORT', possible loss of data ../../hbgtcore.c(982) : warning C4244: '=' : conversion from 'int' to 'BYTE', possible loss of data ../../hbgtcore.c(1293) : warning C4244: 'initializing' : conversion from 'int' to 'BYTE', possible loss of data ../../hbgtcore.c(1495) : warning C4244: 'argument' : conversion from 'int' to 'BYTE', possible loss of data ../../hbgtcore.c(1495) : warning C4244: 'argument' : conversion from 'int' to 'BYTE', possible loss of data ../../hbgtcore.c(1775) : warning C4244: 'argument' : conversion from 'int' to 'BYTE', possible loss of data ../../hbgtcore.c(1776) : warning C4244: 'argument' : conversion from 'int' to 'BYTE', possible loss of data ../../hbgtcore.c(1789) : warning C4244: 'argument' : conversion from 'int' to 'BYTE', possible loss of data ../../hbgtcore.c(1802) : warning C4244: 'argument' : conversion from 'int' to 'BYTE', possible loss of data ../../hbgtcore.c(1814) : warning C4244: 'argument' : conversion from 'int' to 'BYTE', possible loss of data ../../hbgtcore.c(1816) : warning C4244: 'argument' : conversion from 'int' to 'BYTE', possible loss of data ../../hbgtcore.c(1817) : warning C4244: 'argument' : conversion from 'int' to 'BYTE', possible loss of data ../../hbgtcore.c(2015) : warning C4244: '=' : conversion from 'int' to 'UINT16', possible loss of data ../../hbgtcore.c(2016) : warning C4244: '=' : conversion from 'int' to 'BYTE', possible loss of data
---

Brgds,
Viktor

_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to