1
0
Fork 0
forked from fte/fteqw

small fix (int byte assumption)

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2500 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
TimeServ 2007-05-17 20:56:05 +00:00
parent a699f6f0ff
commit b8b56f03cc

View file

@ -2326,7 +2326,7 @@ retry:
// byte swap the header // byte swap the header
#ifndef NOENDIAN #ifndef NOENDIAN
for (i=0 ; i<sizeof(*pr_progs)/4 ; i++) for (i=0 ; i<sizeof(*pr_progs)/sizeof(int) ; i++)
((int *)pr_progs)[i] = PRLittleLong ( ((int *)pr_progs)[i] ); ((int *)pr_progs)[i] = PRLittleLong ( ((int *)pr_progs)[i] );
#endif #endif