summaryrefslogtreecommitdiff
path: root/extras/volume_id/lib/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'extras/volume_id/lib/util.h')
-rw-r--r--extras/volume_id/lib/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/volume_id/lib/util.h b/extras/volume_id/lib/util.h
index ed868001fa..14a76c8fd2 100644
--- a/extras/volume_id/lib/util.h
+++ b/extras/volume_id/lib/util.h
@@ -80,7 +80,7 @@ enum endian {
};
extern int volume_id_utf8_encoded_valid_unichar(const char *str);
-extern void volume_id_set_unicode16(char *str, size_t len, const uint8_t *buf, enum endian endianess, size_t count);
+extern size_t volume_id_set_unicode16(uint8_t *str, size_t len, const uint8_t *buf, enum endian endianess, size_t count);
extern void volume_id_set_usage(struct volume_id *id, enum volume_id_usage usage_id);
extern void volume_id_set_label_raw(struct volume_id *id, const uint8_t *buf, size_t count);
extern void volume_id_set_label_string(struct volume_id *id, const uint8_t *buf, size_t count);