summaryrefslogtreecommitdiffstats
path: root/genimage.h
diff options
context:
space:
mode:
Diffstat (limited to 'genimage.h')
-rw-r--r--genimage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/genimage.h b/genimage.h
index f4b203f..38103eb 100644
--- a/genimage.h
+++ b/genimage.h
@@ -159,7 +159,7 @@ int map_file_extents(struct image *image, const char *filename, int fd,
int is_block_device(const char *filename);
int pad_file(struct image *image, const char *infile,
size_t size, unsigned char fillpattern, enum pad_mode mode);
-int insert_data(struct image *image, const char *data, const char *outfile,
+int insert_data(struct image *image, const void *data, const char *outfile,
size_t size, long offset);
int extend_file(struct image *image, size_t size);
int reload_partitions(struct image *image);