vendredi 21 février 2014

Converting windows SYSTEMTIME to a standard struct tm topic




Le 22/02/2014 01:16, Ian Collins a écrit :
> Why all the superfluous casts? They clutter the code.

Yes, I got used to cast everything because MSVC, Microsoft compiler,
will emit endless warnings when assigning an int to a short or a long
long to an int. In this case when converting from short to int it is
just overkill, you are right.






Aucun commentaire:

Enregistrer un commentaire