Browse Source

Fix printf format warning error

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
f939ff7cb5
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      src/arch/i386/firmware/pcbios/hidemem.c

+ 3
- 2
src/arch/i386/firmware/pcbios/hidemem.c View File

@@ -73,8 +73,9 @@ void hide_etherboot ( void ) {
73 73
 	hidden_regions[TEXT].start = virt_to_phys ( _text );
74 74
 	hidden_regions[TEXT].end = virt_to_phys ( _end );
75 75
 
76
-	DBG ( "Hiding [%x,%x)\n", hidden_regions[TEXT].start,
77
-	      hidden_regions[TEXT].end );
76
+	DBG ( "Hiding [%lx,%lx)\n",
77
+	      ( unsigned long ) hidden_regions[TEXT].start,
78
+	      ( unsigned long ) hidden_regions[TEXT].end );
78 79
 
79 80
 	hook_bios_interrupt ( 0x15, ( unsigned int ) int15,
80 81
 			      &int15_vector );

Loading…
Cancel
Save