소스 검색

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

tags/v0.9.3
Michael Brown 18 년 전
부모
커밋
9f953322a1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      src/drivers/bus/pci.c

+ 1
- 1
src/drivers/bus/pci.c 파일 보기

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

Loading…
취소
저장