aboutsummaryrefslogtreecommitdiffstats
path: root/src/sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sync.c')
-rw-r--r--src/sync.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/sync.c b/src/sync.c
index 4da2560..e98e4a0 100644
--- a/src/sync.c
+++ b/src/sync.c
@@ -26,8 +26,10 @@ sync_tables (DISK * d)
GPT_entry e = entry_read (d, &h.header, i);
uint8_t type = 0, bootable = 0;
- if (e.start>=2147483648) continue;
- if (e.end>=2147483648) continue;
+ if (e.start >= 2147483648U)
+ continue;
+ if (e.end >= 2147483648U)
+ continue;
if (!guid_cmp (&e.type, &guid_efi))
{