Changeset 664


Ignore:
Timestamp:
Jan 26, 2021, 8:31:07 AM (5 years ago)
Author:
Paul Smedley
Message:

Fix warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/uniaud32-next/alsa-kernel/core/pcm_lib.c

    r661 r664  
    14051405
    14061406#ifdef TARGET_OS2
    1407 static inline min_not_zero(unsigned int x, unsigned int y) {
     1407static unsigned int min_not_zero(unsigned int x, unsigned int y) {
    14081408        unsigned int __x = (x);
    14091409        unsigned int __y = (y);
    1410         __x == 0 ? __y : ((__y == 0) ? __x : min(__x, __y));
     1410        return __x == 0 ? __y : ((__y == 0) ? __x : min(__x, __y));
    14111411}
    14121412#endif
Note: See TracChangeset for help on using the changeset viewer.