examples: fix 3 compiler warnings
authorLudovic Rousseau <ludovic.rousseau@free.fr>
Sat, 27 Feb 2016 16:52:05 +0000 (17:52 +0100)
committerLudovic Rousseau <ludovic.rousseau@free.fr>
Wed, 2 Mar 2016 15:07:00 +0000 (16:07 +0100)
commit686ccc284b9c54984fce6a8d2a29d020ede773a9
treeaabde2dc96d71646bb5a8a62ae2a228420666a2b
parent2e78f9525f0558dcb004486baa18a0fcc7ccfb5e
examples: fix 3 compiler warnings

fxload.c:202:17: warning: comparison of integers of different signs: 'int' and
      'unsigned long' [-Wsign-compare]
  ...for (j=0; j<ARRAYSIZE(known_device); j++) {
               ~^~~~~~~~~~~~~~~~~~~~~~~~
fxload.c:222:12: warning: comparison of integers of different signs: 'int' and
      'unsigned long' [-Wsign-compare]
                                        if (j < ARRAYSIZE(known_device)) {
                                            ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~
fxload.c:263:13: warning: comparison of integers of different signs: 'int' and
      'unsigned long' [-Wsign-compare]
        for (i=0; i<ARRAYSIZE(path); i++) {
                  ~^~~~~~~~~~~~~~~~

Signed-off-by: Ludovic Rousseau <ludovic.rousseau@free.fr>
examples/fxload.c
libusb/version_nano.h