You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\Users\nyanpasu\code\exotracker\3rdparty\verdigris\wobjectimpl.h:616: warning: C4244: '=': conversion from 'QIntegerForSize<8>::Signed' to 'int', possible loss of data
Do you think it's worth inserting an explicit cast?
The text was updated successfully, but these errors were encountered:
Forgot to mention, I'm not sure why the third occurrence has no warning, and maybe compiles even with /WX (aka -Werror) and without a cast. Might be a better idea to cast it anyway.
This issue is on both verdigris master and 1.2.
In https://github.com/woboq/verdigris/blob/master/src/wobjectimpl.h, there are three occurrences of
*stringLengthP++ = s.size();
. On 64-bit MSVC, the first two occurrences have the following warning:C:\Users\nyanpasu\code\exotracker\3rdparty\verdigris\wobjectimpl.h:616: warning: C4244: '=': conversion from 'QIntegerForSize<8>::Signed' to 'int', possible loss of data
Do you think it's worth inserting an explicit cast?
The text was updated successfully, but these errors were encountered: