Subversion Repositories HelenOS

Rev

Rev 2015 | Rev 2071 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2015 Rev 2063
Line 63... Line 63...
63
        hsize = uint32_t_le2host(header->header_size);
63
        hsize = uint32_t_le2host(header->header_size);
64
        dsize = uint64_t_le2host(header->data_size);
64
        dsize = uint64_t_le2host(header->data_size);
65
        break;
65
        break;
66
    case RD_DATA_MSB:
66
    case RD_DATA_MSB:
67
        hsize = uint32_t_be2host(header->header_size);
67
        hsize = uint32_t_be2host(header->header_size);
68
        dsize = uint64_t_le2host(header->data_size);
68
        dsize = uint64_t_be2host(header->data_size);
69
        break;
69
        break;
70
    default:
70
    default:
71
        return RE_UNSUPPORTED;
71
        return RE_UNSUPPORTED;
72
    }
72
    }
73
   
73