summaryrefslogtreecommitdiff
path: root/net/arla/patches/patch-bi
blob: 10334307459e736da5a07f428748944b2ac7c85b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-bi,v 1.4 2005/03/25 17:40:25 wennmach Exp $

Shut up gcc on NetBSD/amd64.

--- appl/fs/fs_statistics.c.orig	2005-03-23 10:06:17.000000000 +0100
+++ appl/fs/fs_statistics.c	2005-03-23 10:07:04.000000000 +0100
@@ -104,10 +104,10 @@
 	printsizeslot(sizeslot);
 
     printf("%6lld %8lld %8lld %8lld %8lld\n",
-	   count, items_total,
-	   total_time,
-	   total_time/count,
-	   items_total*1000LL/total_time);
+	   (long long)count, (long long)items_total,
+	   (long long)total_time,
+	   (long long)(total_time/count),
+	   (long long)(items_total*1000LL/total_time));
 }
 
 struct stat_type {