Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mach-kernel committed Dec 17, 2020
1 parent f38d3d5 commit 68e2e7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Src/Prodos_Add.c
Original file line number Diff line number Diff line change
Expand Up @@ -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, &current_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, &current_file->data_length);
ASDecorateProdosFile(current_file, data, (size_t) current_file->data_length);
}
else
{
Expand Down

0 comments on commit 68e2e7d

Please sign in to comment.