aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc27/files/patch-sendmsg.c
blob: e46f36c35eed4bb71505aa60722a25547d0dd014 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- objc/sendmsg.c.orig Thu Jun 15 05:45:10 1995
+++ objc/sendmsg.c  Mon Mar 20 13:29:13 2000
@@ -542,12 +542,15 @@
 #endif
     );
 
-  printf("arrays: %d = %ld bytes\n", narrays, (int)narrays*sizeof(struct sarray));
+  printf("arrays: %d = %lu bytes\n",
+    narrays, (unsigned long)narrays*sizeof(struct sarray));
   total += narrays*sizeof(struct sarray);
-  printf("buckets: %d = %ld bytes\n", nbuckets, (int)nbuckets*sizeof(struct sbucket));
+  printf("buckets: %d = %lu bytes\n",
+    nbuckets, (unsigned long)nbuckets*sizeof(struct sbucket));
   total += nbuckets*sizeof(struct sbucket);
 
-  printf("idxtables: %d = %ld bytes\n", idxsize, (int)idxsize*sizeof(void*));
+  printf("idxtables: %d = %lu bytes\n",
+    idxsize, (unsigned long)idxsize*sizeof(void*));
   total += idxsize*sizeof(void*);
   printf("-----------------------------------\n");
   printf("total: %d bytes\n", total);