Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/libgc
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alexrp@xamarin.com>2013-07-29 07:08:42 +0400
committerAlex Rønne Petersen <alexrp@xamarin.com>2013-07-29 07:09:03 +0400
commita1e5ba803f3e0aa9a340b7c0f2e778002a68f2bb (patch)
tree6b9f5b3ecd5dd73132446f42b2175ba003080a3b /libgc
parent77c1ea199979d618f8e0e47eac9ce30c0302ec6d (diff)
Fix a missing return statement in 16d2bcaa379be0c38f84492a5528c5ab6dcd7e7d.
Diffstat (limited to 'libgc')
-rw-r--r--libgc/include/private/gc_locks.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgc/include/private/gc_locks.h b/libgc/include/private/gc_locks.h
index e3c89c1fe9b..ba4fd185b9b 100644
--- a/libgc/include/private/gc_locks.h
+++ b/libgc/include/private/gc_locks.h
@@ -231,7 +231,7 @@
# define NACL_ALIGN()
# endif
inline static int GC_test_and_set(volatile unsigned int *addr) {
- __sync_lock_test_and_set (addr, 1);
+ return (int) __sync_lock_test_and_set (addr, 1);
}
# define GC_TEST_AND_SET_DEFINED
inline static void GC_clear(volatile unsigned int *addr) {