cast all ATL_sizeof to size_t