mirror of
https://github.com/Waujito/youtubeUnblock.git
synced 2024-12-22 06:15:31 +00:00
const char* argv[] -> char* argv[]
This commit is contained in:
parent
46e4231f7e
commit
4963258c0b
@ -115,7 +115,7 @@ static struct option long_opt[] = {
|
|||||||
{0,0,0,0}
|
{0,0,0,0}
|
||||||
};
|
};
|
||||||
|
|
||||||
static int parse_args(int argc, const char *argv[]) {
|
static int parse_args(int argc, char *argv[]) {
|
||||||
int opt;
|
int opt;
|
||||||
int optIdx;
|
int optIdx;
|
||||||
long num;
|
long num;
|
||||||
@ -760,7 +760,7 @@ void *init_queue_wrapper(void *qdconf) {
|
|||||||
return thres;
|
return thres;
|
||||||
}
|
}
|
||||||
|
|
||||||
int main(int argc, const char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
if (parse_args(argc, argv)) {
|
if (parse_args(argc, argv)) {
|
||||||
if (errno) {
|
if (errno) {
|
||||||
perror("Unable to parse args");
|
perror("Unable to parse args");
|
||||||
|
Loading…
Reference in New Issue
Block a user