linux-omap 2.6.39: sync with meta-texasinstruments
[openembedded.git] / recipes / pcmcia-cs / files / gcc4_fixes.patch
blobc68ba7a0f93446867a8d9796d540d5977baed224
1 Index: pcmcia-cs-3.2.8/debug-tools/lspnp.c
2 ===================================================================
3 --- pcmcia-cs-3.2.8.orig/debug-tools/lspnp.c 2002-02-13 05:45:01.000000000 +0000
4 +++ pcmcia-cs-3.2.8/debug-tools/lspnp.c 2005-11-11 23:43:33.000000000 +0000
5 @@ -496,7 +496,7 @@
6 dump_io_fixed(r); break;
9 - (u_char *)p += sz + 1;
10 + p = (union pnp_resource *) ((u_char *)p + sz + 1);
12 return (u_char *)p;
14 Index: pcmcia-cs-3.2.8/debug-tools/setpnp.c
15 ===================================================================
16 --- pcmcia-cs-3.2.8.orig/debug-tools/setpnp.c 2001-10-10 02:58:12.000000000 +0000
17 +++ pcmcia-cs-3.2.8/debug-tools/setpnp.c 2005-11-11 23:44:32.000000000 +0000
18 @@ -163,7 +163,7 @@
19 break;
22 - (u_char *)p += sz + 1;
23 + p = (union pnp_resource *) ((u_char *)p + sz + 1);
25 return (u_char *)p;