Changeset 1c88835 in mainline for uspace/srv/fs/cdfs/cdfs_ops.c
- Timestamp:
- 2017-07-08T16:12:03Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 89e2aac
- Parents:
- 3cd27c1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/cdfs/cdfs_ops.c
r3cd27c1 r1c88835 52 52 #include <byteorder.h> 53 53 #include <macros.h> 54 #include <unaligned.h> 55 54 56 #include "cdfs.h" 55 57 #include "cdfs_endian.h" … … 458 460 size_t i; 459 461 for (i = 0; i < dsize / sizeof(uint16_t); i++) { 460 buf[i] = uint16_t_be2host(((uint16_t *)data)[i]); 462 buf[i] = uint16_t_be2host( 463 ((unaligned_uint16_t *)data)[i]); 461 464 } 462 465
Note:
See TracChangeset
for help on using the changeset viewer.