From: Bert Vermeulen Date: Sun, 23 Jan 2011 04:32:37 +0000 (+0100) Subject: fix compile warning on 32-bit platforms X-Git-Tag: libsigrok-0.1.0~378 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=108a5bfbba72882d1bc903a0ae54d0a883ff0824;p=libsigrok.git fix compile warning on 32-bit platforms --- diff --git a/hardware/demo/demo.c b/hardware/demo/demo.c index 0312d9cb..f5f57b8d 100644 --- a/hardware/demo/demo.c +++ b/hardware/demo/demo.c @@ -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;