Download MetaTrader 5
To add comments, please log in or register
Download MetaTrader 5 mobile version and trade from anywhere in the world!
zifu wang
626
zifu wang 2014.07.28 12:44 

possible loss of data due to type conversion ArrayObj.mqh 75 14
possible loss of data due to type conversion ArrayObj.mqh 148 20
possible loss of data due to type conversion ArrayObj.mqh 180 20
possible loss of data due to type conversion ArrayDouble.mqh 76 14
possible loss of data due to type conversion ArrayDouble.mqh 135 20
possible loss of data due to type conversion ArrayDouble.mqh 155 20
possible loss of data due to type conversion ArrayDouble.mqh 199 11
possible loss of data due to type conversion ArrayDouble.mqh 256 11
possible loss of data due to type conversion ArrayDouble.mqh 294 11
possible loss of data due to type conversion ArrayInt.mqh 73 14
possible loss of data due to type conversion ArrayInt.mqh 132 20
possible loss of data due to type conversion ArrayInt.mqh 152 20
possible loss of data due to type conversion ArrayInt.mqh 196 11
possible loss of data due to type conversion ArrayInt.mqh 253 11
possible loss of data due to type conversion ArrayInt.mqh 291 11
possible loss of data due to type conversion ArrayLong.mqh 73 14
possible loss of data due to type conversion ArrayLong.mqh 132 20
possible loss of data due to type conversion ArrayLong.mqh 152 20
possible loss of data due to type conversion ArrayLong.mqh 196 11
possible loss of data due to type conversion ArrayLong.mqh 253 11
possible loss of data due to type conversion ArrayLong.mqh 291 11
possible loss of data due to type conversion TimeSeries.mqh 721 19
possible loss of data due to type conversion TimeSeries.mqh 943 19
possible loss of data due to type conversion TimeSeries.mqh 1165 19
possible loss of data due to type conversion TimeSeries.mqh 1387 19
0 error(s), 25 warning(s)  1 26

Alain Verleyen
Moderator
28702
Alain Verleyen 2014.07.28 12:59  
kwang1:

possible loss of data due to type conversion ArrayObj.mqh 75 14
possible loss of data due to type conversion ArrayObj.mqh 148 20
possible loss of data due to type conversion ArrayObj.mqh 180 20
possible loss of data due to type conversion ArrayDouble.mqh 76 14
possible loss of data due to type conversion ArrayDouble.mqh 135 20
possible loss of data due to type conversion ArrayDouble.mqh 155 20
possible loss of data due to type conversion ArrayDouble.mqh 199 11
possible loss of data due to type conversion ArrayDouble.mqh 256 11
possible loss of data due to type conversion ArrayDouble.mqh 294 11
possible loss of data due to type conversion ArrayInt.mqh 73 14
possible loss of data due to type conversion ArrayInt.mqh 132 20
possible loss of data due to type conversion ArrayInt.mqh 152 20
possible loss of data due to type conversion ArrayInt.mqh 196 11
possible loss of data due to type conversion ArrayInt.mqh 253 11
possible loss of data due to type conversion ArrayInt.mqh 291 11
possible loss of data due to type conversion ArrayLong.mqh 73 14
possible loss of data due to type conversion ArrayLong.mqh 132 20
possible loss of data due to type conversion ArrayLong.mqh 152 20
possible loss of data due to type conversion ArrayLong.mqh 196 11
possible loss of data due to type conversion ArrayLong.mqh 253 11
possible loss of data due to type conversion ArrayLong.mqh 291 11
possible loss of data due to type conversion TimeSeries.mqh 721 19
possible loss of data due to type conversion TimeSeries.mqh 943 19
possible loss of data due to type conversion TimeSeries.mqh 1165 19
possible loss of data due to type conversion TimeSeries.mqh 1387 19
0 error(s), 25 warning(s)  1 26

It seems ArraySize has been modified to return an 'uint' instead of an 'int'. You can ignore these warnings.

However you can write to ServiceDesk about this issue.

Alain Verleyen
Moderator
28702
Alain Verleyen 2014.07.28 15:46  

Forum on trading, automated trading systems and testing trading strategies

Build 969 - ArraySize returns uint instead of int

lamemind, 2014.07.26 14:15

Here is what I did to suppress the warning:

Replaced in files all occurrences of "ArraySize" with "(int)ArraySize".

That's not a clean nor perfect solution, but did the job! 


/
To add comments, please log in or register