Explorar el Código

Remove warning (at least on platforms with uint32_t == unsigned long).

tags/v0.9.3
Michael Brown hace 18 años
padre
commit
9f953322a1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/drivers/bus/pci.c

+ 1
- 1
src/drivers/bus/pci.c Ver fichero

64
 			if ( sizeof ( unsigned long ) > sizeof ( uint32_t ) ) {
64
 			if ( sizeof ( unsigned long ) > sizeof ( uint32_t ) ) {
65
 				return ( ( ( uint64_t ) high << 32 ) | low );
65
 				return ( ( ( uint64_t ) high << 32 ) | low );
66
 			} else {
66
 			} else {
67
-				DBG ( "Unhandled 64-bit BAR %08x%08x\n",
67
+				DBG ( "Unhandled 64-bit BAR %08lx%08lx\n",
68
 				      high, low );
68
 				      high, low );
69
 				return PCI_BASE_ADDRESS_MEM_TYPE_64;
69
 				return PCI_BASE_ADDRESS_MEM_TYPE_64;
70
 			}
70
 			}

Loading…
Cancelar
Guardar