aboutsummaryrefslogtreecommitdiffstats
path: root/src/sync.c
diff options
context:
space:
mode:
authorjames <james>2009-05-06 01:12:55 +0000
committerjames <james>2009-05-06 01:12:55 +0000
commit8d4a7ef236ef139929e63d663b9a12871eb83dbb (patch)
tree99f9976b0390bb7198e4630989891b99852e6f03 /src/sync.c
parentc776f71d60ab9edcc6faa29acaa6a92acaff945d (diff)
downloadgpt-8d4a7ef236ef139929e63d663b9a12871eb83dbb.tar.gz
gpt-8d4a7ef236ef139929e63d663b9a12871eb83dbb.tar.bz2
gpt-8d4a7ef236ef139929e63d663b9a12871eb83dbb.zip
*** empty log message ***
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))
{