diff options
author | joerg <joerg@pkgsrc.org> | 2007-06-20 13:04:15 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-06-20 13:04:15 +0000 |
commit | 412ff09fd5fc266ec365c5b13e910d06278421da (patch) | |
tree | 72a2af76ec996bbd658976f6f4ed7704c70206a5 | |
parent | 9b2a24136aeda6a8e8690faa15cbb0c727198e90 (diff) | |
download | pkgsrc-412ff09fd5fc266ec365c5b13e910d06278421da.tar.gz |
Missing cast to to int for %.*s as noted by dmcahill@ and wiz@.
-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); } |