]> sigrok.org Git - libsigrok.git/commit
baylibre-acme: Fix a compiler warning.
authorUwe Hermann <redacted>
Mon, 16 Feb 2015 00:51:53 +0000 (01:51 +0100)
committerUwe Hermann <redacted>
Mon, 16 Feb 2015 00:57:35 +0000 (01:57 +0100)
commit3452785431dea578275d2dfd584709c5f7c6db9a
treeec780baf597bc1c93745748bfabc3313d590e760
parent391e23a97fe5b919f7f0716702bd1b151c601f66
baylibre-acme: Fix a compiler warning.

Use PRIu64 to avoid the following compiler warning:

    CC       src/hardware/baylibre-acme/gpio.lo
  protocol.c: In function 'bl_acme_set_shunt':
  protocol.c:341:2: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t' [-Wformat=]
    g_fprintf(fd, "%llu\n", MOHM_TO_UOHM(shunt));
    ^
src/hardware/baylibre-acme/protocol.c