Ignore:
Timestamp:
Dec 26, 2023, 7:42:27 PM (7 months ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
master
Children:
7868c26
Parents:
ebf96de
Message:

[utils_apple_audio] use snprintf in getPrintableOSStatusError

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/io/utils_apple_audio.c

    rebf96de rc37f6ec  
    5353    } else
    5454        // no, format it as an integer
    55         sprintf(str, "%d", (int)error);
     55        snprintf(str, 10, "%d", (int)error);
    5656    return str;
    5757}
Note: See TracChangeset for help on using the changeset viewer.