Reacted on warnings of cppcheck

This commit is contained in:
Thomas Schmitt 2011-07-11 12:44:12 +02:00
parent bbc3caf86b
commit b90e613246

View File

@ -759,7 +759,7 @@ void write_one_dir_record(Ecma119Image *t, JolietNode *node, int file_id,
struct ecma119_dir_record *rec = (struct ecma119_dir_record*)buf;
len_dr = 33 + len_fi + (len_fi % 2 ? 0 : 1);
len_dr = 33 + len_fi + ((len_fi % 2) ? 0 : 1);
memcpy(rec->file_id, name, len_fi);