ctemplate icon indicating copy to clipboard operation
ctemplate copied to clipboard

Fix 64-bit compilation (at least on MSVC 2017, 15.3)

Open janosvitok opened this issue 7 years ago • 1 comments

Otherwise warning is issued (assignment loses precision)

janosvitok avatar Nov 10 '17 06:11 janosvitok

Thanks! The warning is "warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data" though, precision is a floating point thingy. ;)

BTW, std::string::size_type would be even more correct but size_it is fine with me.

OlafvdSpek avatar Nov 10 '17 10:11 OlafvdSpek