Changeset f5fc6a8 in mainline


Ignore:
Timestamp:
2023-07-24T17:53:21Z (10 months ago)
Author:
Vojtech Horky <vojtech.horky@…>
Branches:
ticket/834-toolchain-update
Children:
1339fd9
Parents:
474fd65
Message:

Silence compiler in test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/display/test/window.c

    r474fd65 rf5fc6a8  
    11091109        PCUT_ASSERT_EQUALS(wnd->display->cursor[dcurs_arrow], wnd->cursor);
    11101110
     1111        // Check that invalid cursors cannot be set: ignore enum conversions
     1112        // as we are out-of-bounds
     1113#pragma GCC diagnostic push
     1114#pragma GCC diagnostic ignored "-Wenum-conversion"
    11111115        rc = ds_window_set_cursor(wnd, dcurs_limit);
    11121116        PCUT_ASSERT_ERRNO_VAL(EINVAL, rc);
     
    11161120        PCUT_ASSERT_ERRNO_VAL(EINVAL, rc);
    11171121        PCUT_ASSERT_EQUALS(wnd->display->cursor[dcurs_arrow], wnd->cursor);
     1122#pragma GCC diagnostic pop
    11181123
    11191124        rc = ds_window_set_cursor(wnd, dcurs_size_lr);
Note: See TracChangeset for help on using the changeset viewer.