(lwla_set_clock_source): Checking whether an enum value is greater than or equal to zero apparently results in a warning with some compilers. Assign the enum to an unsigned variable to avoid this, and return SR_ERR_BUG if the range is exceeded, as this indicates a bug in the driver code itself. |
||
---|---|---|
.. | ||
Makefile.am | ||
api.c | ||
lwla.c | ||
lwla.h | ||
protocol.c | ||
protocol.h |