1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-21 20:23:50 +03:00

r25027: Fix more warnings.

(This used to be commit 5085c53fcf)
This commit is contained in:
Jelmer Vernooij
2007-09-08 13:27:14 +00:00
committed by Gerald (Jerry) Carter
parent ffeee68e4b
commit dccf3f99e4
43 changed files with 122 additions and 103 deletions

View File

@@ -39,7 +39,7 @@ static int ejs_param_get(MprVarHandle eid, int argc, char **argv)
return -1;
}
ctx = mprGetThisPtr(eid, "param");
ctx = (struct param_context *)mprGetThisPtr(eid, "param");
mprAssert(ctx);
if (argc == 2) {
@@ -72,7 +72,7 @@ static int ejs_param_get_list(MprVarHandle eid, int argc, char **argv)
return -1;
}
ctx = mprGetThisPtr(eid, "param");
ctx = (struct param_context *)mprGetThisPtr(eid, "param");
mprAssert(ctx);
if (argc == 2) {
@@ -107,7 +107,7 @@ static int ejs_param_set(MprVarHandle eid, int argc, struct MprVar **argv)
return -1;
}
ctx = mprGetThisPtr(eid, "param");
ctx = (struct param_context *)mprGetThisPtr(eid, "param");
mprAssert(ctx);
@@ -148,7 +148,7 @@ static int ejs_param_data(MprVarHandle eid, int argc, char **argv)
return -1;
}
ctx = mprGetThisPtr(eid, "param");
ctx = (struct param_context *)mprGetThisPtr(eid, "param");
mprAssert(ctx);
ret = mprObject("array");
@@ -184,7 +184,7 @@ static int ejs_param_load(MprVarHandle eid, int argc, char **argv)
return -1;
}
ctx = mprGetThisPtr(eid, "param");
ctx = (struct param_context *)mprGetThisPtr(eid, "param");
mprAssert(ctx);
ret = param_read(ctx, argv[0]);
@@ -209,7 +209,7 @@ static int ejs_param_save(MprVarHandle eid, int argc, char **argv)
return -1;
}
ctx = mprGetThisPtr(eid, "param");
ctx = (struct param_context *)mprGetThisPtr(eid, "param");
mprAssert(ctx);
ret = param_write(ctx, argv[0]);