mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 04:18:39 +00:00
fix const warnings
In particular, in passing argv around as a "const char * const *" instead of a "const char *".
This commit is contained in:
@@ -1834,7 +1834,7 @@ ensure_tset (tr_variant ** tset)
|
||||
}
|
||||
|
||||
static int
|
||||
processArgs (const char * rpcurl, int argc, const char ** argv)
|
||||
processArgs (const char * rpcurl, int argc, const char * const * argv)
|
||||
{
|
||||
int c;
|
||||
int status = EXIT_SUCCESS;
|
||||
|
||||
Reference in New Issue
Block a user