From 68e2e7daa6980310f1d75a1662392c1c304f6e39 Mon Sep 17 00:00:00 2001 From: David Stancu Date: Thu, 17 Dec 2020 08:56:48 -0500 Subject: [PATCH] fix warnings --- Src/Prodos_Add.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Src/Prodos_Add.c b/Src/Prodos_Add.c index 97e02bb..483669c 100644 --- a/Src/Prodos_Add.c +++ b/Src/Prodos_Add.c @@ -364,12 +364,12 @@ static struct prodos_file *LoadFile(char *file_path_data, bool zero_case_bits) return NULL; } - bool is_apple_single = ASIsAppleSingle(data, ¤t_file->data_length); + bool is_apple_single = ASIsAppleSingle(data, (size_t) current_file->data_length); if (is_apple_single) { logf_info(" AppleSingle format detected!\n"); - ASDecorateProdosFile(current_file, data, ¤t_file->data_length); + ASDecorateProdosFile(current_file, data, (size_t) current_file->data_length); } else {