diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2023-03-30 12:58:11 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2023-04-10 09:21:46 +0000 |
commit | df4aea5adaee2bb62948e822b617b0341c3c43d5 (patch) | |
tree | ad781e9217b13eb9b6d2fd608310659eb9a9803d /src/mm-log-test.h | |
parent | 11539a2d82b56332548fdbc6903e66f9aef8b6ff (diff) |
mmtty: handle MM_LOG_LEVEL_MSG in _mm_log()
GCC 13 is unhappy about mixing enums and ints. However, if we fix the
type un mmtty's _mm_log() prototype, the compiler will find something
else to be irritiated about:
[1/2] Compiling C object test/mmtty.p/mmtty.c.o
../test/mmtty.c: In function ‘_mm_log’:
../test/mmtty.c:283:5: warning: enumeration value ‘MM_LOG_LEVEL_MSG’ not handled in switch [-Wswitch-enum]
283 | switch (level) {
| ^~~~~~
[2/2] Linking target test/mmtty
Fix that first.
Diffstat (limited to 'src/mm-log-test.h')
0 files changed, 0 insertions, 0 deletions