]> git.pld-linux.org Git - packages/libextractor.git/blob - libextractor-64bit.patch
- GPL v2+
[packages/libextractor.git] / libextractor-64bit.patch
1 pack.c: In function 'cat_unpack':
2 pack.c:407: warning: left shift count >= width of type
3 pack.c:423: warning: left shift count >= width of type
4
5 --- libextractor-0.5.19/src/plugins/pack.c.orig 2007-07-29 10:35:18.000000000 +0200
6 +++ libextractor-0.5.19/src/plugins/pack.c      2008-01-22 21:39:53.811402372 +0100
7 @@ -447,7 +447,7 @@
8                *swordp |= *bp++ << 24;
9  
10                if ((sizeof (swordp) > 4) && (*swordp & 0x80000000))
11 -                *swordp |= (~0) << ((sizeof (sword) - 4) * 8);
12 +                *swordp |= (~0L) << ((sizeof (sword) - 4) * 8);
13  
14                ++swordp;
15                npacked += 4;
16 @@ -464,7 +464,7 @@
17                *swordp |= *bp++;
18  
19                if ((sizeof (swordp) > 4) && (*swordp & 0x80000000))
20 -                *swordp |= (~0) << ((sizeof (sword) - 4) * 8);
21 +                *swordp |= (~0L) << ((sizeof (sword) - 4) * 8);
22  
23                ++swordp;
24                npacked += 4;
This page took 0.184622 seconds and 3 git commands to generate.