mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
MacOS: Fix sprintf related warning in XCode 14.1
This commit is contained in:
parent
55a8b2ac12
commit
b997e72b62
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ namespace juce
|
||||||
const auto juce_strcat = [] (auto&& head, auto&&... tail) { strcat_s (head, numElementsInArray (head), tail...); };
|
const auto juce_strcat = [] (auto&& head, auto&&... tail) { strcat_s (head, numElementsInArray (head), tail...); };
|
||||||
const auto juce_sscanf = [] (auto&&... args) { sscanf_s (args...); };
|
const auto juce_sscanf = [] (auto&&... args) { sscanf_s (args...); };
|
||||||
#else
|
#else
|
||||||
const auto juce_sprintf = [] (auto&&... args) { sprintf (args...); };
|
const auto juce_sprintf = [] (auto&& head, auto&&... tail) { snprintf (head, (size_t) numElementsInArray (head), tail...); };
|
||||||
const auto juce_strcpy = [] (auto&&... args) { strcpy (args...); };
|
const auto juce_strcpy = [] (auto&&... args) { strcpy (args...); };
|
||||||
const auto juce_strcat = [] (auto&&... args) { strcat (args...); };
|
const auto juce_strcat = [] (auto&&... args) { strcat (args...); };
|
||||||
const auto juce_sscanf = [] (auto&&... args) { sscanf (args...); };
|
const auto juce_sscanf = [] (auto&&... args) { sscanf (args...); };
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue