win-pvdrivers

changeset 938:f476f07d3b0b

Fix compile warning
author James Harper <james.harper@bendigoit.com.au>
date Mon Jun 27 00:03:58 2011 +1000 (2011-06-27)
parents a631c9e93095
children b132eda21caa
files xennet/xennet5_common.c
line diff
     1.1 --- a/xennet/xennet5_common.c	Mon Jun 27 00:03:32 2011 +1000
     1.2 +++ b/xennet/xennet5_common.c	Mon Jun 27 00:03:58 2011 +1000
     1.3 @@ -248,7 +248,7 @@ XenNet_CheckIpHeader(
     1.4    }
     1.5    while (csum & 0xFFFF0000)
     1.6      csum = (csum & 0xFFFF) + (csum >> 16);
     1.7 -  return csum == 0xFFFF;
     1.8 +  return (BOOLEAN)(csum == 0xFFFF);
     1.9  }
    1.10  
    1.11  BOOLEAN