From 6d50cdee995769d0d42fb581773932d2fd8364a9 Mon Sep 17 00:00:00 2001 From: theraven Date: Wed, 17 Aug 2011 17:09:35 +0000 Subject: [PATCH] Return the correct small int class in 32-bit mode --- class.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/class.h b/class.h index 3e2963e..9ff3e43 100644 --- a/class.h +++ b/class.h @@ -274,7 +274,7 @@ static inline Class classForObject(id obj) { if (sizeof(Class) == 4) { - return SmallObjectClasses[0]; + return SmallObjectClasses[1]; } else {