diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2018-04-26 10:59:34 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2018-04-26 12:00:59 +0300 |
commit | 2bfaff7f86afd456b697a55ab32143bb9cf8ea2e (patch) | |
tree | 2a0866f5a285e4b2920e94265713bce6d5597bfd /mach_dep.c | |
parent | b59413253fa0204d6897a05193c58c42ee0c029c (diff) | |
download | bdwgc-2bfaff7f86afd456b697a55ab32143bb9cf8ea2e.tar.gz |
Fix syntax of conditional operator in with_callee_saves_pushed
(fix of commit b594132)
Issue #133 (bdwgc).
* mach_dep.c [!HAVE_PUSH_REGS && UNIX_LIKE && !NO_GETCONTEXT]
(GC_with_callee_saves_pushed): Fix syntax of ?: operator (add missing
'?' symbol).
Diffstat (limited to 'mach_dep.c')
-rw-r--r-- | mach_dep.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -266,7 +266,7 @@ GC_INNER void GC_with_callee_saves_pushed(void (*fn)(ptr_t, void *), context = &ctxt; } if (EXPECT(0 == getcontext_works, FALSE)) - getcontext_works = context != NULL 1 : -1; + getcontext_works = context != NULL ? 1 : -1; } # ifdef GETCONTEXT_FPU_EXCMASK_BUG # ifdef X86_64 |