wok-next diff libnsgif/stuff/patches/gcc7.patch @ rev 20891

cookutils: up (1085); syslinux: remove docs
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jul 19 18:27:17 2018 +0300 (2018-07-19)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libnsgif/stuff/patches/gcc7.patch	Thu Jul 19 18:27:17 2018 +0300
     1.3 @@ -0,0 +1,12 @@
     1.4 +--- a/0.2.0/src/lzw.c
     1.5 ++++ b/0.2.0/src/lzw.c
     1.6 +@@ -168,7 +168,9 @@
     1.7 + 		const uint8_t *data = ctx->sb_data + (ctx->sb_bit >> 3);
     1.8 + 		switch (byte_advance) {
     1.9 + 			case 2: code |= data[2] << 16;
    1.10 ++				/* FALLTHROUGH */
    1.11 + 			case 1: code |= data[1] <<  8;
    1.12 ++				/* FALLTHROUGH */
    1.13 + 			case 0: code |= data[0] <<  0;
    1.14 + 		}
    1.15 + 		ctx->sb_bit += code_size;