win-pvdrivers

changeset 785:b18131bbbaf0 0.11.0.210

Fix 64 bit compile error
author James Harper <james.harper@bendigoit.com.au>
date Tue Feb 16 16:48:24 2010 +1100 (2010-02-16)
parents 744be619e07c
children 8ab029b609c8
files xenvbd/xenvbd.c
line diff
     1.1 --- a/xenvbd/xenvbd.c	Tue Feb 16 14:54:42 2010 +1100
     1.2 +++ b/xenvbd/xenvbd.c	Tue Feb 16 16:48:24 2010 +1100
     1.3 @@ -1163,7 +1163,7 @@ if (xvdd->aligned_buffer_in_use)
     1.4              data_buffer[6] = 0;
     1.5              data_buffer[7] = (UCHAR)strlen(xvdd->vectors.path);
     1.6              memcpy(&data_buffer[8], xvdd->vectors.path, strlen(xvdd->vectors.path));
     1.7 -            data_transfer_length = 8 + strlen(xvdd->vectors.path);
     1.8 +            data_transfer_length = (ULONG)(8 + strlen(xvdd->vectors.path));
     1.9              break;
    1.10            default:
    1.11              //KdPrint((__DRIVER_NAME "     Unknown Page %02x requested\n", srb->Cdb[2]));