summaryrefslogtreecommitdiff
path: root/lang/gcc27/files/patch-sendmsg.c
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gcc27/files/patch-sendmsg.c')
-rw-r--r--lang/gcc27/files/patch-sendmsg.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/lang/gcc27/files/patch-sendmsg.c b/lang/gcc27/files/patch-sendmsg.c
new file mode 100644
index 000000000000..e46f36c35eed
--- /dev/null
+++ b/lang/gcc27/files/patch-sendmsg.c
@@ -0,0 +1,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);