The MSVC warning assumes that any attempt to write - followed by an unsigned number is an attempt to create a negative number (which produces the wrong data type if you type, e.g., -2147483648). However, it's also warning when an explicit U is given, e.g. in -1UL, which is clearly not an attempt to express a negative value. Suppress the warning by rewriting the number in question as (0UL-1UL) with a binary rather than unary minus.
92 KiB
92 KiB