Changeset 1108 for cpp/common


Ignore:
Timestamp:
03/15/21 15:57:32 (3 years ago)
Author:
Maciej Komosinski
Message:

Avoided potentially dangerous subtraction from unsigned int

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/common/nonstd_stl.h

    r1027 r1108  
    4848
    4949//final and no longer needed version ;-) (c++17)
    50 #define ARRAY_LENGTH(x) std::size(x)
     50#define ARRAY_LENGTH(x) int(std::size(x))
    5151
    5252
Note: See TracChangeset for help on using the changeset viewer.