cmUdpNet.h/c : Changed argv[] in cmUdpNetTest() from char* to const char*.

This commit is contained in:
Kevin Larke 2014-12-06 14:24:16 -08:00
parent d848f94030
commit 1cd2969f6d
2 changed files with 3 additions and 3 deletions

View File

@ -592,7 +592,7 @@ void _cmUdpNetTestCb2( void* cbArg, cmUdpNetH_t h, const char* data, unsigned da
}
const cmChar_t* _cmUdpNetTestGetOpt( int argc, char* argv[], const char* opt )
const cmChar_t* _cmUdpNetTestGetOpt( int argc, const char* argv[], const char* opt )
{
unsigned i;
for(i=0; i<argc; ++i)
@ -602,7 +602,7 @@ const cmChar_t* _cmUdpNetTestGetOpt( int argc, char* argv[], const char* opt )
return NULL;
}
cmRC_t cmUdpNetTest( cmCtx_t* ctx, int argc, char* argv[] )
cmRC_t cmUdpNetTest( cmCtx_t* ctx, int argc, const char* argv[] )
{
cmUdpNetH_t h = cmUdpNetNullHandle;
cmJsonH_t jsH = cmJsonNullHandle;

View File

@ -134,7 +134,7 @@ cmUnRC_t cmUdpNetReceive( cmUdpNetH_t h, unsigned* msgCntPtr );
cmUnRC_t cmUdpNetPrintNodes( cmUdpNetH_t h, cmRpt_t* rpt );
void cmUdpNetReport( cmUdpNetH_t h, cmRpt_t* rpt );
cmRC_t cmUdpNetTest( cmCtx_t* ctx, int argc, char* argv[] );
cmRC_t cmUdpNetTest( cmCtx_t* ctx, int argc, const char* argv[] );
#ifdef __cplusplus
}