Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jaromil committed Dec 6, 2024
1 parent e701159 commit a8ed5c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ extern bool gen_exec_headers(char *tmpdir);
int detect_bom(const char *filename) {
FILE *file = fopen(filename, "rb");
if (!file) return -1;
uint8_t bom[3;
uint8_t bom[3];
fread(bom, 1, 3, file);
fclose(file);
if (bom[0] == 0xFF && bom[1] == 0xFE) {
Expand Down

0 comments on commit a8ed5c0

Please sign in to comment.