Skip to content

Commit

Permalink
Merge pull request #3904 from DanielG/fix-fst-i386
Browse files Browse the repository at this point in the history
  • Loading branch information
jix authored Aug 27, 2023
2 parents de54cf1 + e017f66 commit 86df114
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/fst/fstapi.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4334,7 +4334,7 @@ int fstReaderInit(struct fstReaderContext *xc)
hdr_incomplete = (xc->start_time == 0) && (xc->end_time == 0);

fstFread(&dcheck, 8, 1, xc->f);
xc->double_endian_match = (dcheck == FST_DOUBLE_ENDTEST);
xc->double_endian_match = (dcheck == (double)FST_DOUBLE_ENDTEST);
if (!xc->double_endian_match) {
union
{
Expand Down

0 comments on commit 86df114

Please sign in to comment.