Browse Source

fix warning

Samuel Thibault 4 years ago
parent
commit
fc8f6c8d85
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/core/perfmodel/perfmodel_bus.c

+ 3 - 3
src/core/perfmodel/perfmodel_bus.c

@@ -2880,9 +2880,9 @@ static void write_bus_platform_file_content(int version)
 				/* Otherwise, link to another GPU? */
 				for (k = i+1; k < ncuda; k++)
 				{
-					if (pci.domain == props[k].pciDomainID
-					 && pci.bus == props[k].pciBusID
-					 && pci.device == props[k].pciDeviceID)
+					if ((int) pci.domain == props[k].pciDomainID
+					 && (int) pci.bus == props[k].pciBusID
+					 && (int) pci.device == props[k].pciDeviceID)
 					{
 						nvlink[i][k] = 1;
 						nvlink[k][i] = 1;