Skip to content

Commit 4766b14

Browse files
committedMar 22, 2012
[build] Fix compilation under Cygwin
Originally-fixed-by: Steve Goodrich <steve.goodrich@se-eng.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
1 parent 97dcc82 commit 4766b14

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎src/arch/i386/core/runtime.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ static int initrd_init ( void ) {
201201
/* Allocate and copy initrd content */
202202
image->data = umalloc ( initrd_len );
203203
if ( ! image->data ) {
204-
DBGC ( colour, "RUNTIME could not allocate %zd bytes for "
204+
DBGC ( colour, "RUNTIME could not allocate %d bytes for "
205205
"initrd\n", initrd_len );
206206
rc = -ENOMEM;
207207
goto err_umalloc;

‎src/arch/i386/interface/pcbios/int13.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ static uint8_t num_drives;
160160
* @v int13 Emulated drive
161161
* @ret blksize Sector size
162162
*/
163-
static inline unsigned int int13_blksize ( struct int13_drive *int13 ) {
163+
static inline size_t int13_blksize ( struct int13_drive *int13 ) {
164164
return ( int13->capacity.blksize << int13->blksize_shift );
165165
}
166166

0 commit comments

Comments
 (0)
Please sign in to comment.