desktop: fixed swap_float()

get indexes right
This commit is contained in:
Andrew Tridgell 2011-11-26 14:46:16 +11:00 committed by Pat Hickey
parent 62f98b091f
commit 24a7a18481

View File

@ -57,7 +57,7 @@ float swap_float(float f)
int i; int i;
in.f = f; in.f = f;
for (i=0; i<4; i++) { for (i=0; i<4; i++) {
out.b[4-i] = in.b[i]; out.b[3-i] = in.b[i];
} }
return out.f; return out.f;
} }