From bfbc15e4f7c0178edd6eabedeb80de2eaf62a686 Mon Sep 17 00:00:00 2001 From: theraven Date: Sun, 16 May 2010 22:36:59 +0000 Subject: [PATCH] Fix 64-bit warning. --- ivar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ivar.c b/ivar.c index 7bce1b2..f8ea602 100644 --- a/ivar.c +++ b/ivar.c @@ -96,7 +96,7 @@ void __objc_compute_ivar_offsets(Class class) fprintf(stderr, "Last instance variable in superclass, %s, ends at offset %d. ", ivar->name, ivar->offset + - objc_sizeof_type(ivar->type)); + (int)objc_sizeof_type(ivar->type)); fprintf(stderr, "This probably means that you are subclassing a" "class from a library, which has changed in a binary-incompatible" "way.\n");