]> sigrok.org Git - libsigrok.git/commitdiff
fix compile warning on 32-bit platforms
authorBert Vermeulen <redacted>
Sun, 23 Jan 2011 04:32:37 +0000 (05:32 +0100)
committerBert Vermeulen <redacted>
Sun, 23 Jan 2011 04:32:37 +0000 (05:32 +0100)
hardware/demo/demo.c

index 0312d9cb10cdc7d12ba17d0efcb32ec6392dfdfb..f5f57b8d8093839f8d2b20acfda4a18d95daea41 100644 (file)
@@ -284,7 +284,7 @@ static int receive_data(int fd, int revents, void *user_data)
 {
        struct datafeed_packet packet;
        char c[BUFSIZE];
-       uint64_t z;
+       gsize z;
 
        /* Avoid compiler warnings. */
        fd = fd;