diff options
author | Matt Fleming <matt.fleming@intel.com> | 2013-06-19 16:44:49 +0100 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2013-06-19 16:44:49 +0100 |
commit | 6bcbd44e729f14ab96c03debd18e87d1fe0e2b6a (patch) | |
tree | 09c35f3928629f1c313d188b0fdb8038de32adf8 | |
parent | c9b39bf837d8a0c9325a09264b2183c45a1384e5 (diff) | |
download | syslinux-6bcbd44e729f14ab96c03debd18e87d1fe0e2b6a.tar.gz syslinux-6bcbd44e729f14ab96c03debd18e87d1fe0e2b6a.tar.xz syslinux-6bcbd44e729f14ab96c03debd18e87d1fe0e2b6a.zip |
efi: cast to avoid compiler warning
efi/tcp.c: In function ‘core_tcp_fill_buffer’:
efi/tcp.c:210:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
-rw-r--r-- | efi/tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -207,7 +207,7 @@ void core_tcp_fill_buffer(struct inode *inode) status = uefi_call_wrapper(tcp->Receive, 2, tcp, &iotoken); if (status == EFI_CONNECTION_FIN) { socket->tftp_goteof = 1; - if (inode->size == -1) + if (inode->size == (uint64_t)-1) inode->size = socket->tftp_filepos; socket->ops->close(inode); goto out; |