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:
parent
a699f6f0ff
commit
b8b56f03cc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue