Fixed some compiler warnings on OpenBSD

This commit is contained in:
Michiel Broek
2004-12-29 15:09:38 +00:00
parent faec864516
commit 3c39833c41
4 changed files with 4 additions and 4 deletions

View File

@@ -199,7 +199,7 @@ void ForwardFile(fidoaddr Node, fa_list *sbl)
subject = ctime(&now);
Striplf(subject);
ba = bestaka_s(dest);
fprintf(fp, "Path %s %lu %s %s\r\n", ascfnode(ba, 0x1f), mktime(localtime(&now)), subject, tzname[0]);
fprintf(fp, "Path %s %lu %s %s\r\n", ascfnode(ba, 0x1f), (long)mktime(localtime(&now)), subject, tzname[0]);
tidy_faddr(ba);
if (nodes.TIC_AdvSB) {

View File

@@ -100,7 +100,7 @@ int toss_onemsg(char *msgname)
char fromUserName[36], toUserName[36], subject[72], DateTime[20];
FILE *fp, *np;
faddr *ta;
unsigned char buf[0xbd];
unsigned char buf[0xbe];
unsigned short destNode = 0, destNet = 0, destZone = 0, destPoint = 0;
unsigned short origNode = 0, origNet = 0, origZone = 0, origPoint = 0;
unsigned short Attribute = 0;