pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pbulk/files/pbulk/pscan Missing cast to to in...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b1387422e7c0
branches: trunk
changeset: 530260:b1387422e7c0
user: joerg <joerg%pkgsrc.org@localhost>
date: Wed Jun 20 13:04:15 2007 +0000
description:
Missing cast to to int for %.*s as noted by dmcahill@ and wiz@.
diffstat:
pkgtools/pbulk/files/pbulk/pscan/jobs.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 439c89c804ac -r b1387422e7c0 pkgtools/pbulk/files/pbulk/pscan/jobs.c
--- a/pkgtools/pbulk/files/pbulk/pscan/jobs.c Wed Jun 20 11:49:39 2007 +0000
+++ b/pkgtools/pbulk/files/pbulk/pscan/jobs.c Wed Jun 20 13:04:15 2007 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: jobs.c,v 1.1.1.1 2007/06/19 19:49:57 joerg Exp $ */
+/* $NetBSD: jobs.c,v 1.2 2007/06/20 13:04:15 joerg Exp $ */
/*-
* Copyright (c) 2007 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
@@ -57,7 +57,7 @@
{
char *location;
- location = xasprintf("%.*s/%.*s", (int)cat_len, cat, dir_len, dir);
+ location = xasprintf("%.*s/%.*s", (int)cat_len, cat, (int)dir_len, dir);
add_job_full(location);
free(location);
}
Home |
Main Index |
Thread Index |
Old Index