From 060ddf89be2c1c082d78f5b05d6e5c094a33b3ca Mon Sep 17 00:00:00 2001 From: theraven Date: Mon, 17 May 2010 14:29:55 +0000 Subject: [PATCH] Another 64-bit fix. --- selector_table.c | 2 +- sendmsg.d | 32 -------------------------------- 2 files changed, 1 insertion(+), 33 deletions(-) delete mode 100644 sendmsg.d diff --git a/selector_table.c b/selector_table.c index 73c5403..cae2f90 100644 --- a/selector_table.c +++ b/selector_table.c @@ -143,7 +143,7 @@ static inline void add_selector_to_table(SEL aSel, int32_t uid, uint32_t idx) // Store the selector. selector_insert(sel_table, aSel); // Set the selector's name to the uid. - aSel->name = (const char*)uid; + aSel->name = (const char*)(uintptr_t)uid; } /** * Really registers a selector. Must be called with the selector table locked. diff --git a/sendmsg.d b/sendmsg.d deleted file mode 100644 index 63716f1..0000000 --- a/sendmsg.d +++ /dev/null @@ -1,32 +0,0 @@ -sendmsg.o: sendmsg.c objc/runtime-legacy.h objc/objc.h objc/objc-api.h \ - objc/hash.h objc/Availability.h objc/thr.h objc/objc-decls.h \ - objc/objc-list.h objc/slot.h objc/sarray.h objc/encoding.h lock.h \ - pool.h sendmsg2.c - -objc/runtime-legacy.h: - -objc/objc.h: - -objc/objc-api.h: - -objc/hash.h: - -objc/Availability.h: - -objc/thr.h: - -objc/objc-decls.h: - -objc/objc-list.h: - -objc/slot.h: - -objc/sarray.h: - -objc/encoding.h: - -lock.h: - -pool.h: - -sendmsg2.c: