Skip to content

Commit 1120b5a

Browse files
unsigned specific not needed, 0 is 0 either way
1 parent 84812c3 commit 1120b5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/installer/gpt_writer.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ bool install_gpt_esp_rfs_whole_image(const char *devname, const char *esp_image_
192192
uint64_t read_offset = 0ULL;
193193

194194
display_progress("Installing recovery/boot image (step 1 of 3)", 0);
195-
195+
196196
z_stream zs;
197197
memset(&zs, 0, sizeof(zs));
198198
zs.zalloc = zlib_alloc;
@@ -211,7 +211,7 @@ bool install_gpt_esp_rfs_whole_image(const char *devname, const char *esp_image_
211211
if (read_offset + to_read > img_ent->size) {
212212
to_read = (uint32_t)(img_ent->size - read_offset);
213213
}
214-
if (to_read == 0U) {
214+
if (to_read == 0) {
215215
/* No more compressed input but stream not ended: corrupt gzip */
216216
inflateEnd(&zs);
217217
error_page("unexpected EOF in gzip stream");

0 commit comments

Comments
 (0)