aboutsummaryrefslogtreecommitdiff
path: root/src/target/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/image.h')
-rw-r--r--src/target/image.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/image.h b/src/target/image.h
index 765d290..53c27d8 100644
--- a/src/target/image.h
+++ b/src/target/image.h
@@ -99,7 +99,7 @@ void image_close(struct image *image);
int image_add_section(struct image *image, uint32_t base, uint32_t size,
int flags, uint8_t const *data);
-int image_calculate_checksum(uint8_t *buffer, uint32_t nbytes,
+int image_calculate_checksum(const uint8_t *buffer, uint32_t nbytes,
uint32_t *checksum);
#define ERROR_IMAGE_FORMAT_ERROR (-1400)