Helge Deller 8527ed4a70 parisc: fix compile warnings triggered by atomic_sub(sizeof(),v)
This fixes compile warnings like this one:
net/ipv4/igmp.c: In function ‘ip_mc_leave_group’:
net/ipv4/igmp.c:1898:3: warning: overflow in implicit constant conversion [-Woverflow]

atomic_sub() is defined as __atomic_add_return(-(VAL),(v))))
and if VAL is of type unsigned int (as returned by sizeof()), negating
this value will overflow. Fix this by type-casting VAL to int type.

Signed-off-by: Helge Deller <deller@gmx.de>
2013-03-02 20:01:05 +01:00
..
2011-07-26 16:49:47 -07:00
2012-06-05 14:10:17 +09:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2013-02-20 22:55:26 +01:00
2013-02-20 22:50:26 +01:00
2012-11-13 15:48:27 -05:00
2012-03-28 18:30:02 +01:00
2011-07-26 16:49:47 -07:00
2012-02-23 20:19:04 -07:00
2012-11-28 21:53:36 -05:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00