diff options
author | murray <murray@FreeBSD.org> | 2001-09-22 23:17:37 +0000 |
---|---|---|
committer | murray <murray@FreeBSD.org> | 2001-09-22 23:17:37 +0000 |
commit | a3fa7d9b17ea4172917c08cb7788e478ac45a5f8 (patch) | |
tree | d0e2ff4d919270404ceb8069d20bbe4eef969ad6 /usr.sbin/sysinstall/dist.c | |
parent | 8cda2ec97f6a72f452fa861c3adb93522ab009ec (diff) | |
download | FreeBSD-src-a3fa7d9b17ea4172917c08cb7788e478ac45a5f8.zip FreeBSD-src-a3fa7d9b17ea4172917c08cb7788e478ac45a5f8.tar.gz |
Silence more warnings.
Diffstat (limited to 'usr.sbin/sysinstall/dist.c')
-rw-r--r-- | usr.sbin/sysinstall/dist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/dist.c b/usr.sbin/sysinstall/dist.c index 7a674cc..e15f088 100644 --- a/usr.sbin/sysinstall/dist.c +++ b/usr.sbin/sysinstall/dist.c @@ -466,7 +466,7 @@ distSetCustom(dialogMenuItem *self) cp = alloca(strlen(tmp) + 1); if (!cp) - msgFatal("Couldn't alloca() %d bytes!\n", strlen(tmp) + 1); + msgFatal("Couldn't alloca() %d bytes!\n", (int)(strlen(tmp) + 1)); strcpy(cp, tmp); while (cp) { if ((cp2 = index(cp, ' ')) != NULL) @@ -492,7 +492,7 @@ distUnsetCustom(dialogMenuItem *self) cp = alloca(strlen(tmp) + 1); if (!cp) - msgFatal("Couldn't alloca() %d bytes!\n", strlen(tmp) + 1); + msgFatal("Couldn't alloca() %d bytes!\n", (int)(strlen(tmp) + 1)); strcpy(cp, tmp); while (cp) { if ((cp2 = index(cp, ' ')) != NULL) |