aboutsummaryrefslogtreecommitdiff
path: root/contrib/gcc/objc/sendmsg.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/objc/sendmsg.c')
-rw-r--r--contrib/gcc/objc/sendmsg.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/contrib/gcc/objc/sendmsg.c b/contrib/gcc/objc/sendmsg.c
index 79d4a6b5d5b5..6d1d4ad8e73a 100644
--- a/contrib/gcc/objc/sendmsg.c
+++ b/contrib/gcc/objc/sendmsg.c
@@ -542,12 +542,15 @@ void __objc_print_dtable_stats()
#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);