[PATCH] osmocon: correct parsing of -m

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/baseband-devel@lists.osmocom.org/.

Sylvain Munaut 246tnt at gmail.com
Wed Dec 14 06:28:23 UTC 2011


> How was it incorrect before?

According to specs, enum types _can_ be unsigned and so the test would
be always false.

http://stackoverflow.com/questions/2579230/signedness-of-enum-in-c-c99-c-cx-gnu-c-gnu-c99


Cheers,

     Sylvain




More information about the baseband-devel mailing list