mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-31 16:09:28 +02:00
Get rid of warning in LV2Effect.cpp
Use the wxCRT_StrdupA to use the appropriate strdup function for the platform.
This commit is contained in:
parent
2ec12c150b
commit
70a67c51d2
@ -2958,7 +2958,8 @@ LV2_URID LV2Effect::Lookup_URI(URIDMap & map, const char *uri, bool add)
|
||||
|
||||
if (add)
|
||||
{
|
||||
map.push_back(MallocString<>(strdup(uri)));
|
||||
// Almost all compilers have strdup(), but VC++ and MinGW call it _strdup().
|
||||
map.push_back(MallocString<>(wxCRT_StrdupA(uri)));
|
||||
return ndx + 1;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user