]> sigrok.org Git - sigrok-firmware-fx2lafw.git/blobdiff - gpif-acquisition.c
fx2lafw: silence integer overflow compile warnings
[sigrok-firmware-fx2lafw.git] / gpif-acquisition.c
index 96476ccc4185a01319efd34c16a12568125da8c4..c6ba52a0939fc81474bb29ee0d7ca3f700f6dbed 100644 (file)
@@ -161,7 +161,7 @@ static void gpif_make_data_dp_state(volatile BYTE *pSTATE)
         * BRANCH
         * Branch to IDLE if condition is true, back to S0 otherwise.
         */
-       pSTATE[0] = (1 << 7) | (7 << 3) | (0 << 0);
+       pSTATE[0] = (1u << 7) | (7u << 3) | (0u << 0);
 
        /*
         * OPCODE