]> sigrok.org Git - libsigrok.git/commit
fluke-dmm: Fix two compiler warnings.
authorUwe Hermann <redacted>
Mon, 29 Aug 2016 19:29:40 +0000 (21:29 +0200)
committerUwe Hermann <redacted>
Mon, 29 Aug 2016 19:51:28 +0000 (21:51 +0200)
commit55ec0b673af83b70615482c0c5ce33b18ef02fa8
tree7d83af854db08b3ac1ac70cea5880b1d3b91fc3b
parent693c52482a55f7eee9da11b084971560058aebef
fluke-dmm: Fix two compiler warnings.

  src/hardware/fluke-dmm/fluke.c:312:24: warning: implicit conversion from \
  enumeration type 'enum sr_unit' to different enumeration type 'enum sr_mq' \
   [-Wenum-conversion]
          devc->mq = devc->unit = devc->mqflags = 0;
                   ~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~

  src/hardware/fluke-dmm/fluke.c:312:40: warning: implicit conversion from \
  enumeration type 'enum sr_mqflag' to different enumeration type 'enum \
  sr_unit' [-Wenum-conversion]
          devc->mq = devc->unit = devc->mqflags = 0;
                                ~ ~~~~~~~~~~~~~~^~~
src/hardware/fluke-dmm/fluke.c