summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2021-11-09 22:50:53 +0200
committerToomas Soome <tsoome@me.com>2022-01-05 18:41:45 +0200
commitaf0ef7c472bfce1509e929cd90cad4d773980e53 (patch)
tree4787e9b4e134b1821c4df4686703f0df771cab5f /usr/src
parent214d537cc1e7896ae3489ebec3ae766e01f32b2a (diff)
downloadillumos-gate-af0ef7c472bfce1509e929cd90cad4d773980e53.tar.gz
14300 mbh_patch: comparison of integers of different signs
Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/tools/mbh_patch/mbh_patch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/tools/mbh_patch/mbh_patch.c b/usr/src/tools/mbh_patch/mbh_patch.c
index 204009ab4d..30ab69d90f 100644
--- a/usr/src/tools/mbh_patch/mbh_patch.c
+++ b/usr/src/tools/mbh_patch/mbh_patch.c
@@ -106,7 +106,7 @@ patch64(Elf64_Ehdr *eh)
{
Elf64_Phdr *phdr;
caddr_t phdrs = NULL;
- int ndx, mem, mem2;
+ unsigned ndx, mem, mem2;
multiboot_header_t *mbh;
multiboot2_header_t *mbh2;