]> sigrok.org Git - libsigrok.git/commit
sysclk-lwla: Cut down on size_t overuse
authorDaniel Elstner <redacted>
Fri, 27 Nov 2015 13:32:28 +0000 (14:32 +0100)
committerDaniel Elstner <redacted>
Fri, 27 Nov 2015 14:07:56 +0000 (15:07 +0100)
commit7ed808179f5542c903a476266c4b175a6f2a18a7
tree5f0f821052d43c43a938191d55b01e86268274d7
parent43af7604d0910e9831d027d5a53ca806cee8bdfc
sysclk-lwla: Cut down on size_t overuse

Do not use size_t for values whose width is defined by the device,
not the host. Also don't use size_t for simple indices with known
small range, unless type compatibility considerations apply.
src/hardware/sysclk-lwla/api.c
src/hardware/sysclk-lwla/lwla.h
src/hardware/sysclk-lwla/lwla1016.c
src/hardware/sysclk-lwla/lwla1034.c
src/hardware/sysclk-lwla/protocol.c