Port: fix -Wdeprecated-declarations warning about sprintf on macOS clang 14
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 18 Apr 2023 19:02:37 +0000 (15:02 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 1 May 2023 17:58:27 +0000 (13:58 -0400)
commit99afe3e2063edf476d5c46c261cf02e504d3a3c5
treecadef18a61818222e38384d43e5771bec4587f3c
parentaae4cdd13963d9bd3caf9d2ae27ff6b6ad4c2b92
Port: fix -Wdeprecated-declarations warning about sprintf on macOS clang 14

Remove uses of sprintf to fix this warning:

    warning: 'sprintf' is deprecated: This function is provided for
    compatibility reasons only.  Due to security concerns inherent in the
    design of sprintf(3), it is highly recommended that you use snprintf(3)
    instead. [-Wdeprecated-declarations]

Change-Id: Idf3109f2eacafe0a7d18f4c132613f2f85afa09b
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/uuid.cpp
This page took 0.027449 seconds and 4 git commands to generate.