VirtualBox

Ignore:
Timestamp:
Jul 5, 2017 11:24:53 AM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
116709
Message:

isomakerimport: More rock ridge code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/formats/iso9660.h

    r67788 r67790  
    11591159DECLINLINE(uint8_t) Iso9660RripTfCalcLength(uint8_t fFlags)
    11601160{
    1161     uint8_t cTimestamps = ((fFlags & ISO9660RRIPTF_F_BIRTH)      != 0)
    1162                         + ((fFlags & ISO9660RRIPTF_F_MODIFY)     != 0)
    1163                         + ((fFlags & ISO9660RRIPTF_F_ACCESS)     != 0)
    1164                         + ((fFlags & ISO9660RRIPTF_F_CHANGE)     != 0)
    1165                         + ((fFlags & ISO9660RRIPTF_F_BACKUP)     != 0)
    1166                         + ((fFlags & ISO9660RRIPTF_F_EXPIRATION) != 0)
    1167                         + ((fFlags & ISO9660RRIPTF_F_EFFECTIVE)  != 0);
    1168     return cTimestamps * (uint8_t)(fFlags & ISO9660RRIPTF_F_LONG_FORM ? sizeof(ISO9660TIMESTAMP) : sizeof(ISO9660RECTIMESTAMP))
    1169          + (uint8_t)RT_OFFSETOF(ISO9660RRIPTF, abPayload);
     1161    unsigned cTimestamps = ((fFlags & ISO9660RRIPTF_F_BIRTH)      != 0)
     1162                         + ((fFlags & ISO9660RRIPTF_F_MODIFY)     != 0)
     1163                         + ((fFlags & ISO9660RRIPTF_F_ACCESS)     != 0)
     1164                         + ((fFlags & ISO9660RRIPTF_F_CHANGE)     != 0)
     1165                         + ((fFlags & ISO9660RRIPTF_F_BACKUP)     != 0)
     1166                         + ((fFlags & ISO9660RRIPTF_F_EXPIRATION) != 0)
     1167                         + ((fFlags & ISO9660RRIPTF_F_EFFECTIVE)  != 0);
     1168    return (uint8_t)(  cTimestamps * (fFlags & ISO9660RRIPTF_F_LONG_FORM ? sizeof(ISO9660TIMESTAMP) : sizeof(ISO9660RECTIMESTAMP))
     1169                     + RT_OFFSETOF(ISO9660RRIPTF, abPayload));
    11701170}
    11711171
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette