On 10/22/2014 02:13 AM, Marek Chalupa wrote:

What I'm wondering is what should be the behavior of wl_strtoul for
negative numbers?
strtoul silently converts them, but I don't think this is what we always
want... or is it?

-1 is a handy shortcut for strtoul to get all the bits turned on and get the maximum possible value.

Not sure if other negative numbers are much use though.
_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to