aboutsummaryrefslogtreecommitdiff
path: root/src/librc/librc-depend.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-02-19 16:49:28 +0000
committerRoy Marples <roy@marples.name>2008-02-19 16:49:28 +0000
commit42dd9965ccfbbdd93a1edb996d5bf8b77e3dc940 (patch)
treefac84b37f09a46130ac1fb50412fe9934c3c6695 /src/librc/librc-depend.c
parent916a4463ce64d3dbf54a98d17947379e72d907e8 (diff)
Default to using C99 standard.
Diffstat (limited to 'src/librc/librc-depend.c')
-rw-r--r--src/librc/librc-depend.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/librc/librc-depend.c b/src/librc/librc-depend.c
index 1d377309..97e558af 100644
--- a/src/librc/librc-depend.c
+++ b/src/librc/librc-depend.c
@@ -995,17 +995,18 @@ next:
i = 0;
for (depinfo = deptree; depinfo; depinfo = depinfo->next)
{
- fprintf (fp, "depinfo_%lu_service='%s'\n",
- (unsigned long) i, depinfo->service);
+ fprintf (fp, "depinfo_%zu_service='%s'\n",
+ i, depinfo->service);
for (deptype = depinfo->depends; deptype; deptype = deptype->next)
{
k = 0;
STRLIST_FOREACH (deptype->services, service, j)
{
- fprintf (fp, "depinfo_%lu_%s_%lu='%s'\n",
- (unsigned long) i,
+ fprintf (fp,
+ "depinfo_%zu_%s_%zu='%s'\n",
+ i,
deptype->type,
- (unsigned long) k, service);
+ k, service);
k++;
}
}