Ignore:
Timestamp:
2018-01-04T20:50:53Z (6 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Children:
3b47db6
Parents:
847844a
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:47:53)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:50:53)
Message:

(optional) Remove the horrid hack named case_errno_t.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tester/hw/serial/serial1.c

    r847844a rc81d4f1  
    6363                cnt = DEFAULT_COUNT;
    6464        else
    65                 switch ((case_errno_t) str_size_t(test_argv[0], NULL, 0, true, &cnt)) {
    66                 case (case_errno_t) EOK:
     65                switch (str_size_t(test_argv[0], NULL, 0, true, &cnt)) {
     66                case EOK:
    6767                        break;
    68                 case (case_errno_t) EINVAL:
     68                case EINVAL:
    6969                        return "Invalid argument, unsigned integer expected";
    70                 case (case_errno_t) EOVERFLOW:
     70                case EOVERFLOW:
    7171                        return "Argument size overflow";
    7272                default:
Note: See TracChangeset for help on using the changeset viewer.