diff options
author | james <james> | 2009-05-06 01:12:55 +0000 |
---|---|---|
committer | james <james> | 2009-05-06 01:12:55 +0000 |
commit | 8d4a7ef236ef139929e63d663b9a12871eb83dbb (patch) | |
tree | 99f9976b0390bb7198e4630989891b99852e6f03 /src/sync.c | |
parent | c776f71d60ab9edcc6faa29acaa6a92acaff945d (diff) | |
download | gpt-8d4a7ef236ef139929e63d663b9a12871eb83dbb.tar.gz gpt-8d4a7ef236ef139929e63d663b9a12871eb83dbb.tar.bz2 gpt-8d4a7ef236ef139929e63d663b9a12871eb83dbb.zip |
*** empty log message ***
Diffstat (limited to 'src/sync.c')
-rw-r--r-- | src/sync.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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)) { |