Skip to content

Commit 18310c6

Browse files
authored
Merge pull request #344 from cmusphinx/fix_s390
fix: fix a stray #if WORDS_BIGENDIAN (fixes: #343)
2 parents e46bedd + cbb06a3 commit 18310c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/acmod.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ acmod_log_mfc(acmod_t *acmod,
474474

475475
n = n_frames * feat_cepsize(acmod->fcb);
476476
/* Swap bytes. */
477-
#if !WORDS_BIGENDIAN
477+
#ifndef WORDS_BIGENDIAN
478478
for (i = 0; i < (n * sizeof(mfcc_t) / sizeof(int32)); ++i) {
479479
SWAP_INT32(ptr + i);
480480
}
@@ -485,7 +485,7 @@ acmod_log_mfc(acmod_t *acmod,
485485
}
486486

487487
/* Swap them back. */
488-
#if !WORDS_BIGENDIAN
488+
#ifndef WORDS_BIGENDIAN
489489
for (i = 0; i < (n * sizeof(mfcc_t) / sizeof(int32)); ++i) {
490490
SWAP_INT32(ptr + i);
491491
}

0 commit comments

Comments
 (0)