mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-16 23:51:18 +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:
@@ -2958,7 +2958,8 @@ LV2_URID LV2Effect::Lookup_URI(URIDMap & map, const char *uri, bool add)
|
|||||||
|
|
||||||
if (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;
|
return ndx + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user