Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
5 votes
4 answers
4k views

Is a compiler warning for 64bit to 32bit `size_t` truncation actually useful?

I have been looking at VC++'s C4267: Compiler Warning (level 3) C4267 'var' : conversion from 'size_t' to 'type', possible loss of data The compiler detected a conversion from size_t to a ...
Martin Ba's user avatar
  • 7,666