28 Feb
2007
28 Feb
'07
2:23 a.m.
Hi With the current implementation, unsigned variables accept negative values, that get silently cast. E.g. on my platform, if "--length" expects size_t, --length -32 assigns it a value 4294967264 without warnings or errors. This behavior surprised me, and I'm using a workaround (parsing an int, and checking its range manually). However, is this an intended feature of the library? Thanks