Fixed printf format errors.

This commit is contained in:
Bruce Evans 1998-06-30 18:06:23 +00:00
parent 65a87ccc7c
commit 9f15c7ece5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=37304
2 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ int opienewseed FUNCTION((seed), char *seed)
j = 1;
}
sprintf(seed, "%s%04d", buf, j);
sprintf(seed, "%s%04ld", buf, j);
return 0;
}
}

View File

@ -53,7 +53,7 @@ ipx_ntoa(addr)
static char *spectHex();
net.net_e = addr.x_net;
sprintf(obuf, "%lx", ntohl(net.long_e));
sprintf(obuf, "%lx", (u_long)ntohl(net.long_e));
cp = spectHex(obuf);
cp2 = cp + 1;
while (*up==0 && up < uplim) up++;