mirror of
https://github.com/transmission/transmission.git
synced 2025-12-23 11:58:36 +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:
@@ -51,7 +51,7 @@ getUsage (void)
|
||||
}
|
||||
|
||||
static int
|
||||
parseCommandLine (int argc, const char ** argv)
|
||||
parseCommandLine (int argc, const char * const * argv)
|
||||
{
|
||||
int c;
|
||||
const char * optarg;
|
||||
|
||||
Reference in New Issue
Block a user