Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Commit d70b1d0

Browse files
tsathoqquathefallentree
authored andcommitted
tasktool fixes
1 parent 5995643 commit d70b1d0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/obj/tasktool/internal/base.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class command_info {
1818
string desc; // A short [~40 chars] description of the command
1919
string priv; // priv required to use this command
2020
string status; // A short [~10 chars] description of task status
21-
*args; // An *of prompts to use to ask for arguments not
21+
mixed *args; // An *of prompts to use to ask for arguments not
2222
// given on the line. Max == 2.
2323
function action; // The function to be called.
2424
}

lib/obj/tasktool/tasktool.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,14 @@ class command_info *module_commands() {
7575
int n = 1;
7676

7777
if (our_task != 0) {
78-
*t = TASK_D->query_task(our_task);
78+
mixed *t = TASK_D->query_task(our_task);
7979

8080
ret += ({
8181
new(class command_info, desc : t[1] )
8282
});
8383
}
8484

85-
foreach (*task in TASK_D->query_tasks(our_task)) {
85+
foreach (mixed *task in TASK_D->query_tasks(our_task)) {
8686
string key, name, status;
8787

8888
key = sprintf("%d", n);

0 commit comments

Comments
 (0)