diff options
author | joerg <joerg> | 2007-06-20 13:04:15 +0000 |
---|---|---|
committer | joerg <joerg> | 2007-06-20 13:04:15 +0000 |
commit | daa97b8e7f8612e1e9e5d4ee844cd9d963584c5f (patch) | |
tree | 72a2af76ec996bbd658976f6f4ed7704c70206a5 /pkgtools/pbulk | |
parent | cf9204765235265663c60cae6eb38c3e496acdde (diff) | |
download | pkgsrc-daa97b8e7f8612e1e9e5d4ee844cd9d963584c5f.tar.gz |
Missing cast to to int for %.*s as noted by dmcahill@ and wiz@.
Diffstat (limited to 'pkgtools/pbulk')
-rw-r--r-- | pkgtools/pbulk/files/pbulk/pscan/jobs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pbulk/files/pbulk/pscan/jobs.c b/pkgtools/pbulk/files/pbulk/pscan/jobs.c index 8d6097220c1..dc2872a53a2 100644 --- a/pkgtools/pbulk/files/pbulk/pscan/jobs.c +++ b/pkgtools/pbulk/files/pbulk/pscan/jobs.c @@ -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>. @@ -57,7 +57,7 @@ add_job(const char *cat, size_t cat_len, const char *dir, size_t dir_len) { 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); } |