diff options
Diffstat (limited to 'lib/negti2.c')
-rw-r--r-- | lib/negti2.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/negti2.c b/lib/negti2.c index c1c8a1296..4244c8b06 100644 --- a/lib/negti2.c +++ b/lib/negti2.c @@ -20,7 +20,9 @@ ti_int __negti2(ti_int a) { - return ~a + 1; + // Note: this routine is here for API compatibility; any sane compiler + // should expand it inline. + return -a; } #endif |