Skip to content

Commit

Permalink
fix bad pointer type
Browse files Browse the repository at this point in the history
  • Loading branch information
jpbland1 committed Jul 1, 2023
1 parent fce7409 commit 5f44cc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/update_flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -376,13 +376,13 @@ static int wolfBoot_delta_update(struct wolfBoot_image *boot,

/* copy the last sector of boot which has the encrypt key and partition
* state to swap */
wolfBoot_copy_sector(&boot, &swap, sector);
wolfBoot_copy_sector(boot, swap, sector);

/* set the UPDATE state as FINAL_SWAP */
st = IMG_STATE_FINAL_SWAP;
wolfBoot_set_partition_state(PART_UPDATE, st);

wolfBoot_finalize(&boot, &update, &swap);
wolfBoot_finalize(boot, update, swap);
out:
return ret;
}
Expand Down

0 comments on commit 5f44cc4

Please sign in to comment.