* src/vm/thread.c
* Added casts to pacify msvc64 warnings.
Of some the ones related to pMutex->events I'm unsure of,
probably it's better to use 'int' instead of HB_ULONG for
internal variable in some cases to make it look cleaner,
though I assume there was a reason for it, so I left it.
Please check me.
* src/vm/classes.c
* Added casts to pacify msvc64 warnings.