]> sigrok.org Git - libsigrok.git/commitdiff
korad-kdxxxxp: Use PRIi64 format for int64_t
authorDaniel Elstner <redacted>
Fri, 16 Oct 2015 19:28:07 +0000 (21:28 +0200)
committerDaniel Elstner <redacted>
Fri, 16 Oct 2015 19:28:07 +0000 (21:28 +0200)
src/hardware/korad-kdxxxxp/protocol.c

index 770131e26d8e31afe84004daf17e6f16cf154e97..90ee55f180607e6ba5eddf7f051ace073911e1c1 100644 (file)
@@ -73,7 +73,7 @@ static void give_device_time_to_process(struct dev_context *devc)
 
        if (sleeping_time > 0) {
                g_usleep(sleeping_time);
-               sr_spew("Sleeping for processing %ld usec", sleeping_time);
+               sr_spew("Sleeping for processing %" PRIi64 " usec", sleeping_time);
        }
 }