Changeset 0a520db in mainline for uspace/lib/c/generic/double_to_str.c


Ignore:
Timestamp:
2019-01-10T18:39:16Z (5 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a91b828
Parents:
f47c2dc1
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-01-10 18:38:24)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-01-10 18:39:16)
Message:

Change static_assert to its standard definition

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/double_to_str.c

    rf47c2dc1 r0a520db  
    503503{
    504504        /* The whole computation assumes 64bit significand. */
    505         static_assert(sizeof(ieee_val.pos_val.significand) == sizeof(uint64_t));
     505        static_assert(sizeof(ieee_val.pos_val.significand) == sizeof(uint64_t), "");
    506506
    507507        if (ieee_val.is_special) {
     
    754754{
    755755        /* The whole computation assumes 64bit significand. */
    756         static_assert(sizeof(ieee_val.pos_val.significand) == sizeof(uint64_t));
     756        static_assert(sizeof(ieee_val.pos_val.significand) == sizeof(uint64_t), "");
    757757
    758758        if (ieee_val.is_special) {
Note: See TracChangeset for help on using the changeset viewer.