Changeset 16
- Timestamp:
- 09/16/06 15:53:38 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/zorg/src/mpc_decoder.c
r11 r16 96 96 static mpc_int32_t f_read_dword(mpc_decoder *d, mpc_uint32_t * ptr, mpc_uint32_t count) 97 97 { 98 mpc_uint32_t n;99 98 count = f_read(d, ptr, count << 2) >> 2; 100 99 #ifndef MPC_LITTLE_ENDIAN 101 for(n = 0; n< count; n++) { 102 ptr[n] = mpc_swap32(ptr[n]); 100 { 101 mpc_uint32_t n; 102 for(n = 0; n< count; n++) 103 ptr[n] = mpc_swap32(ptr[n]); 103 104 } 104 105 #endif
Note: See TracChangeset
for help on using the changeset viewer.