mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-02 00:49:33 +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:
parent
2eab4d7b11
commit
91be0e6969
@ -8,7 +8,7 @@
|
|||||||
const int nBuff = 1024;
|
const int nBuff = 1024;
|
||||||
|
|
||||||
extern "C" int DoSrv( char * pIn );
|
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()
|
void PipeServer()
|
||||||
{
|
{
|
||||||
@ -119,7 +119,7 @@ const char fifotmpl[] = "/tmp/audacity_script_pipe.%s.%d";
|
|||||||
const int nBuff = 1024;
|
const int nBuff = 1024;
|
||||||
|
|
||||||
extern "C" int DoSrv( char * pIn );
|
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()
|
void PipeServer()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user