ObjFW  Check-in [c14f0fc208]

Overview
Comment:Fix accidental type change
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: c14f0fc208a095cba3872622f44e5a089be93dce07b98031a4f49f12c8d26f28
User & Date: js on 2020-10-10 14:43:12
Other Links: manifest | tags
Context
2020-10-10
21:54
More type cleanups check-in: ac004e624d user: js tags: trunk
14:43
Fix accidental type change check-in: c14f0fc208 user: js tags: trunk
14:27
OFObject: Change type of -[hash] to unsigned long check-in: aeb403a1ed user: js tags: trunk
Changes

Modified src/runtime/arc.m from [d8155e4574] to [7f174d7d34].

30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
};

static struct objc_hashtable *hashtable;
#ifdef OF_HAVE_THREADS
static of_spinlock_t spinlock;
#endif

static unsigned long
hash(const void *object)
{
	return (uint32_t)(uintptr_t)object;
}

static bool
equal(const void *object1, const void *object2)







|







30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
};

static struct objc_hashtable *hashtable;
#ifdef OF_HAVE_THREADS
static of_spinlock_t spinlock;
#endif

static uint32_t
hash(const void *object)
{
	return (uint32_t)(uintptr_t)object;
}

static bool
equal(const void *object1, const void *object2)