Changeset a21d837 in mainline for uspace/lib/c/include/sys/types.h

Timestamp:
2013-04-01T16:54:02Z (11 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c8830a2
Parents:
66108658
Message:

Explicitly treat the str argument to fat_lfn_str_nlength() as unaligned.

fat_lfn_str_nlength() was defined to take uint16_t * and as such had
reasons to assume natural alignment of the pointed object. This was
however not the case when the function was called from fat_lfn_size()
because the argument there is an address from inside a packed structure.

(No files)

Note: See TracChangeset for help on using the changeset viewer.