Ignore:
Timestamp:
2016-05-14T06:44:37Z (8 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
362654a
Parents:
1023758
Message:

Use static assert instead of regular ones

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ohci/hw_struct/hcca.h

    r1023758 r1cf26ab  
    6565static inline hcca_t * hcca_get(void)
    6666{
    67         assert(sizeof(hcca_t) == 256);
     67        static_assert(sizeof(hcca_t) == 256);
    6868        hcca_t *hcca = memalign(256, sizeof(hcca_t));
    6969        if (hcca)
Note: See TracChangeset for help on using the changeset viewer.