mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-28 00:48:46 +00:00
Merge pull request #3904 from DanielG/fix-fst-i386
This commit is contained in:
commit
86df114a33
1 changed files with 1 additions and 1 deletions
|
@ -4334,7 +4334,7 @@ int fstReaderInit(struct fstReaderContext *xc)
|
||||||
hdr_incomplete = (xc->start_time == 0) && (xc->end_time == 0);
|
hdr_incomplete = (xc->start_time == 0) && (xc->end_time == 0);
|
||||||
|
|
||||||
fstFread(&dcheck, 8, 1, xc->f);
|
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) {
|
if (!xc->double_endian_match) {
|
||||||
union
|
union
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue