Vote count:
0
I have this warning under Visual Studio
conversion form size_t to double possible loss of data
with the following code
int maFunc(double Test)
{
return 0;
}
size_t test = 6666;
int toto = maFunc(test);
I do not understand this warning (I could use a static_cast but i would like to understand why, i understand this warning on int with possible overflow)
asked 15 secs ago
64bits warning conversion from size_t to double
Aucun commentaire:
Enregistrer un commentaire