aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/sam/multi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/sam/multi.c')
-rw-r--r--src/cmd/sam/multi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/sam/multi.c b/src/cmd/sam/multi.c
index 3df0dbee..3f086aa3 100644
--- a/src/cmd/sam/multi.c
+++ b/src/cmd/sam/multi.c
@@ -1,6 +1,6 @@
#include "sam.h"
-List file;
+List file = { 'p' };
ushort tag;
File *
@@ -9,7 +9,7 @@ newfile(void)
File *f;
f = fileopen();
- inslist(&file, 0, (long)f);
+ inslist(&file, 0, f);
f->tag = tag++;
if(downloaded)
outTs(Hnewname, f->tag);
@@ -88,7 +88,7 @@ sortname(File *f)
break;
}
}
- inslist(&file, i, (long)f);
+ inslist(&file, i, f);
if(downloaded)
outTsS(Hmovname, f->tag, &f->name);
}