Skip to content
Snippets Groups Projects
Commit 7c5b3580 authored by Chris Cheney's avatar Chris Cheney
Browse files

fixed comparison for endianess

git-svn-id: http://svn.xiph.org/trunk/ao@1222 0101bb08-14d6-0310-b084-bc0e0c8e3800
parent c210f8cf
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,7 @@ static int _is_big_endian(void)
uint_16 pattern = 0xbabe;
unsigned char *bytewise = (unsigned char *)&pattern;
if (bytewise[0] = 0xba) return 1;
if (bytewise[0] == 0xba) return 1;
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment