Fixes Big Endian build issue.

(closes issue #19298)
Reported by: tzafrir


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@319083 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
David Vossel
2011-05-16 14:26:33 +00:00
parent 7c38148a7d
commit d75f80fe08

View File

@@ -354,6 +354,7 @@ static struct ast_frame *wav_read(struct ast_filestream *s, int *whennext)
int samples; /* actual samples read */ int samples; /* actual samples read */
#if __BYTE_ORDER == __BIG_ENDIAN #if __BYTE_ORDER == __BIG_ENDIAN
int x; int x;
short *tmp;
#endif #endif
int bytes; int bytes;
off_t here; off_t here;