1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-29 23:19:28 +02:00

Ensure declaration of function matches its definition

It was defined as taking a size_t paramater when it was written,
so the declarations used to call it should also use a size_t parameter
to ensure the call is correct.
This commit is contained in:
Ian McInerney 2021-04-22 14:07:12 +01:00 committed by James Crook
parent 2eab4d7b11
commit 91be0e6969

View File

@ -8,7 +8,7 @@
const int nBuff = 1024;
extern "C" int DoSrv( char * pIn );
extern "C" int DoSrvMore( char * pOut, int nMax );
extern "C" int DoSrvMore( char * pOut, size_t nMax );
void PipeServer()
{
@ -119,7 +119,7 @@ const char fifotmpl[] = "/tmp/audacity_script_pipe.%s.%d";
const int nBuff = 1024;
extern "C" int DoSrv( char * pIn );
extern "C" int DoSrvMore( char * pOut, int nMax );
extern "C" int DoSrvMore( char * pOut, size_t nMax );
void PipeServer()
{