]> sigrok.org Git - libsigrok.git/blobdiff - hardware/openbench-logic-sniffer/protocol.h
ols: Fix RLE count handling
[libsigrok.git] / hardware / openbench-logic-sniffer / protocol.h
index bf449e7003f7aef3f1f4ed747f7594b2b8381a18..a721c50b731220e8cf15a24cb92d0a3166c04645 100644 (file)
@@ -103,7 +103,7 @@ struct dev_context {
        int num_bytes;
 
        /* Temporary variables */
-       int rle_count;
+       unsigned int rle_count;
        unsigned char sample[4];
        unsigned char tmp_sample[4];
        unsigned char *raw_sample_buf;