bitkeeper revision 1.1739 (42ba886dkLcSLF35FYJLZkKeANRJYg)

Trivial cleanup in netfront driver.
Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
kaf24@firebug.cl.cam.ac.uk committed 2005-06-23 10:01:17 +00:00
1 parent deddd053dd
commit ef6edef8f8
1 file changed
+2 -2
@@ -1343,7 +1343,7 @@ static int xennet_proc_read(
{
struct net_device *dev = (struct net_device *)((unsigned long)data & ~3UL);
struct net_private *np = netdev_priv(dev);
int len = 0, which_target = (unsigned long) data & 3;
int len = 0, which_target = (long)data & 3;
switch (which_target)
{
@@ -1368,7 +1368,7 @@ static int xennet_proc_write(
{
struct net_device *dev = (struct net_device *)((unsigned long)data & ~3UL);
struct net_private *np = netdev_priv(dev);
int which_target = (unsigned long) data & 3;
int which_target = (long)data & 3;
char string[64];
long target;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.