[build] Fix compilation under Cygwin

Originally-fixed-by: Steve Goodrich <steve.goodrich@se-eng.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2012-03-22 23:52:24 +00:00
parent 97dcc824bf
commit 4766b1455f
2 changed files with 2 additions and 2 deletions

View File

@@ -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 );
}