]> xenbits.xensource.com Git - pvdrivers/win/xenvif.git/commitdiff
Fix SDV build
authorPaul Durrant <paul.durrant@citrix.com>
Wed, 25 Nov 2015 13:56:51 +0000 (13:56 +0000)
committerPaul Durrant <paul.durrant@citrix.com>
Wed, 25 Nov 2015 13:56:51 +0000 (13:56 +0000)
Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
src/xenvif/fdo.c

index 7d4d015e7a2e88ec79893487d5f7d8d02ceae8c2..82c3fd29fbddacd11fa62a12bde346c2ae513228 100644 (file)
@@ -1111,7 +1111,7 @@ __FdoMatchDistribution(
     Text = VENDOR_NAME_STR;
 
     for (Index = 0; Text[Index] != 0; Index++) {
-        if (!isalnum(Text[Index])) {
+        if (!isalnum((UCHAR)Text[Index])) {
             if (Vendor[Index] != '_') {
                 Match = FALSE;
                 break;
@@ -1257,7 +1257,7 @@ update:
     ASSERT(NT_SUCCESS(status));
 
     for (Index  = 0; Vendor[Index] != '\0'; Index++)
-        if (!isalnum(Vendor[Index]))
+        if (!isalnum((UCHAR)Vendor[Index]))
             Vendor[Index] = '_';
 
     Product = "XENVIF";