Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[build] Fix compilation under Cygwin
Originally-fixed-by: Steve Goodrich <steve.goodrich@se-eng.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed Mar 22, 2012
1 parent 97dcc82 commit 4766b14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/arch/i386/core/runtime.c
Expand Up @@ -201,7 +201,7 @@ static int initrd_init ( void ) {
/* Allocate and copy initrd content */
image->data = umalloc ( initrd_len );
if ( ! image->data ) {
DBGC ( colour, "RUNTIME could not allocate %zd bytes for "
DBGC ( colour, "RUNTIME could not allocate %d bytes for "
"initrd\n", initrd_len );
rc = -ENOMEM;
goto err_umalloc;
Expand Down
2 changes: 1 addition & 1 deletion src/arch/i386/interface/pcbios/int13.c
Expand Up @@ -160,7 +160,7 @@ static uint8_t num_drives;
* @v int13 Emulated drive
* @ret blksize Sector size
*/
static inline unsigned int int13_blksize ( struct int13_drive *int13 ) {
static inline size_t int13_blksize ( struct int13_drive *int13 ) {
return ( int13->capacity.blksize << int13->blksize_shift );
}

Expand Down

0 comments on commit 4766b14

Please sign in to comment.