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
Four occurrences of 'argument': conversion from 'size_t' to 'long', possible loss of data
due to using .size() which returns a size_t as a value to an argument that accepts long
Quick fix is to cast the size_t to a long and hope that arg is never more than 2GB.
Cleaner is that cast but also to do a compile-time size check since you will know T1 and T2
The text was updated successfully, but these errors were encountered:
Four occurrences of
'argument': conversion from 'size_t' to 'long', possible loss of data
due to using
.size()
which returns asize_t
as a value to an argument that acceptslong
min-api/include/c74_min_patcher.h
Lines 79 to 112 in 97766ca
Quick fix is to cast the size_t to a long and hope that arg is never more than 2GB.
Cleaner is that cast but also to do a compile-time size check since you will know
T1
andT2
The text was updated successfully, but these errors were encountered: