]> sigrok.org Git - sigrok-firmware-fx2lafw.git/commit - gpif-acquisition.c
fx2lafw: silence integer overflow compile warnings
authorGerhard Sittig <redacted>
Mon, 22 Feb 2021 19:17:02 +0000 (20:17 +0100)
committerGerhard Sittig <redacted>
Mon, 23 Aug 2021 17:01:42 +0000 (19:01 +0200)
commit61f1c8fc33ce959f167f6bcb5ba3b0959d60b038
tree1b69b29ece0f7472ed73a9d551c344618822de83
parent6ad0f97ccac6eec6042944b5edcc9fa9270d1503
fx2lafw: silence integer overflow compile warnings

Explicitly mark literals for control bitfield values as unsigned, to
avoid compiler warnings when the MSB gets set in assignments to a byte.
This kind of follows up to commit f6ef2ff72979 after commit b283ba837a11
re-introduced the warning.
gpif-acquisition.c